Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009342, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 182.3 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9477/0.9477, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 15.94 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 82.3 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5582/0.7327, allocations: 171.4 MB / 0.756 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.7431, allocations: 8.589 MB / 0.7644 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.744, allocations: 15.5 kB / 0.7644 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.7449, allocations: 240 kB / 0.7647 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008056/0.7457, allocations: 290 kB / 0.7649 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.7467, allocations: 334 kB / 0.7653 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.7484, allocations: 1.622 MB / 0.7668 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.7491, allocations: 0.491 MB / 0.7673 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/0.7547, allocations: 1.903 MB / 0.7692 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.7552, allocations: 350.3 kB / 0.7695 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.7553, allocations: 20 kB / 0.7695 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.7555, allocations: 51.97 kB / 0.7696 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.7558, allocations: 239.4 kB / 0.7698 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.7561, allocations: 284.2 kB / 0.7701 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.7566, allocations: 462.9 kB / 0.7705 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7567, allocations: 0 / 0.7705 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7567, allocations: 0 / 0.7705 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.7567, allocations: 0 / 0.7705 GB, free: 2.176 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001172/0.7579, allocations: 0.7152 MB / 0.7712 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7579, allocations: 12.03 kB / 0.7712 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.758, allocations: 63.25 kB / 0.7713 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.7586, allocations: 418.2 kB / 0.7717 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.7587, allocations: 45.3 kB / 0.7717 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.7587, allocations: 48 kB / 0.7718 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7599, allocations: 0.7144 MB / 0.7725 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.76, allocations: 3.938 kB / 0.7725 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.76, allocations: 27.92 kB / 0.7725 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.7601, allocations: 31.98 kB / 0.7725 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.7608, allocations: 379.4 kB / 0.7729 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.7637, allocations: 3.239 MB / 0.7761 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.764, allocations: 222.1 kB / 0.7763 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.7642, allocations: 136.5 kB / 0.7764 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.7642, allocations: 4 kB / 0.7764 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.7643, allocations: 52.31 kB / 0.7765 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.7643, allocations: 0 / 0.7765 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007436/0.765, allocations: 261.4 kB / 0.7767 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.7652, allocations: 303.1 kB / 0.777 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.766, allocations: 0.6799 MB / 0.7777 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.766, allocations: 29.7 kB / 0.7777 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.7663, allocations: 264.2 kB / 0.7779 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.7663, allocations: 35.55 kB / 0.778 GB, free: 10 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.7664, allocations: 13.72 kB / 0.778 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.7665, allocations: 370.8 kB / 0.7783 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.7667, allocations: 39.97 kB / 0.7784 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.7669, allocations: 113 kB / 0.7785 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.7672, allocations: 137 kB / 0.7786 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7672, allocations: 0 / 0.7786 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000384/0.7676, allocations: 204.9 kB / 0.7788 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7676, allocations: 7.938 kB / 0.7788 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7676, allocations: 0 / 0.7788 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7676, allocations: 4 kB / 0.7788 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.7679, allocations: 51.95 kB / 0.7789 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.7679, allocations: 7.969 kB / 0.7789 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.7682, allocations: 59.36 kB / 0.7789 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.7682, allocations: 8 kB / 0.7789 GB, free: 8.949 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.7684, allocations: 206 kB / 0.7791 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.7686, allocations: 63.19 kB / 0.7792 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.7687, allocations: 64.25 kB / 0.7793 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7688, allocations: 8 kB / 0.7793 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7688, allocations: 4 kB / 0.7793 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.7688, allocations: 4 kB / 0.7793 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.7703, allocations: 1.297 MB / 0.7805 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7704, allocations: 7.688 kB / 0.7806 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.7706, allocations: 56.23 kB / 0.7806 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.7706, allocations: 4 kB / 0.7806 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.7706, allocations: 4 kB / 0.7806 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.7706, allocations: 11.92 kB / 0.7806 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7706, allocations: 3.938 kB / 0.7806 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.7711, allocations: 350.4 kB / 0.781 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.7712, allocations: 148.3 kB / 0.7811 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.7713, allocations: 0 / 0.7811 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.7715, allocations: 19.98 kB / 0.7811 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.7715, allocations: 23.86 kB / 0.7811 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.7716, allocations: 4 kB / 0.7811 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005488/0.7721, allocations: 0.4951 MB / 0.7816 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7721, allocations: 0 / 0.7816 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003892/0.7725, allocations: 83.94 kB / 0.7817 GB, free: 5.949 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/0.7729, allocations: 137.1 kB / 0.7818 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.7732, allocations: 115.8 kB / 0.782 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7733, allocations: 384 / 0.782 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.7734, allocations: 71.83 kB / 0.782 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.775, allocations: 279.1 kB / 0.7823 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.7765, allocations: 1.076 MB / 0.7833 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.7771, allocations: 0.9014 MB / 0.7842 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.7771, allocations: 35.44 kB / 0.7843 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.7772, allocations: 0 / 0.7843 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01229/0.7894, allocations: 7.708 MB / 0.7918 GB, free: 11.66 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)