Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006636/0.006636, allocations: 103.7 kB / 15.74 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9726/0.9726, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.5857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4013, allocations: 80.91 MB / 0.6647 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004522/0.4058, allocations: 4.714 MB / 0.6693 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.4079, allocations: 2.699 MB / 0.6719 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.408, allocations: 1.125 kB / 0.6719 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.4083, allocations: 52.27 kB / 0.672 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.4085, allocations: 95.7 kB / 0.6721 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.4095, allocations: 0.515 MB / 0.6726 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.4097, allocations: 236.8 kB / 0.6728 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.4097, allocations: 12.95 kB / 0.6728 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4099, allocations: 121.9 kB / 0.6729 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.41, allocations: 89.11 kB / 0.673 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.4101, allocations: 8.281 kB / 0.673 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.4106, allocations: 376 kB / 0.6734 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.4107, allocations: 38.08 kB / 0.6734 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.4108, allocations: 84.14 kB / 0.6735 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.4113, allocations: 349.7 kB / 0.6738 GB, free: 352 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4113, allocations: 3.938 kB / 0.6738 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4113, allocations: 1.062 kB / 0.6738 GB, free: 348 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4114, allocations: 0 / 0.6738 GB, free: 348 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007238/0.4121, allocations: 0.5058 MB / 0.6743 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4121, allocations: 10.28 kB / 0.6743 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.4123, allocations: 21.98 kB / 0.6744 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.4127, allocations: 212.5 kB / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4127, allocations: 11.89 kB / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4127, allocations: 13.78 kB / 0.6746 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.4132, allocations: 245.7 kB / 0.6748 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4132, allocations: 4.938 kB / 0.6748 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.4132, allocations: 11.16 kB / 0.6748 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.4133, allocations: 5.281 kB / 0.6748 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.4138, allocations: 432.8 kB / 0.6753 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.415, allocations: 0.9419 MB / 0.6762 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.4153, allocations: 163.9 kB / 0.6763 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.4154, allocations: 62.75 kB / 0.6764 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.4168, allocations: 1.835 MB / 0.6782 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4168, allocations: 37.91 kB / 0.6782 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.4168, allocations: 0 / 0.6782 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003085/0.4171, allocations: 145 kB / 0.6784 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4172, allocations: 58.19 kB / 0.6784 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4173, allocations: 178.6 kB / 0.6786 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4174, allocations: 32.36 kB / 0.6786 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.4174, allocations: 142.5 kB / 0.6787 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.4175, allocations: 47.08 kB / 0.6788 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.4176, allocations: 56.03 kB / 0.6788 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4178, allocations: 322.5 kB / 0.6792 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.4178, allocations: 33.11 kB / 0.6792 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.418, allocations: 143.6 kB / 0.6793 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.4182, allocations: 203.1 kB / 0.6795 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4182, allocations: 1.188 kB / 0.6795 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004038/0.4186, allocations: 218.6 kB / 0.6797 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4186, allocations: 8.906 kB / 0.6797 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4187, allocations: 4.25 kB / 0.6797 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4187, allocations: 5.344 kB / 0.6797 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4188, allocations: 64.25 kB / 0.6798 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4189, allocations: 13.84 kB / 0.6798 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.419, allocations: 23.41 kB / 0.6798 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.419, allocations: 15.69 kB / 0.6799 GB, free: 10.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001073/0.4191, allocations: 135.4 kB / 0.68 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.4192, allocations: 15.66 kB / 0.68 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.4195, allocations: 152.7 kB / 0.6801 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.4195, allocations: 6.969 kB / 0.6801 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4195, allocations: 0 / 0.6801 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4195, allocations: 0 / 0.6801 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.4197, allocations: 214.3 kB / 0.6804 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4197, allocations: 0 / 0.6804 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.4198, allocations: 31.58 kB / 0.6804 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.4198, allocations: 1.281 kB / 0.6804 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4199, allocations: 5.375 kB / 0.6804 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4199, allocations: 5.156 kB / 0.6804 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4199, allocations: 0 / 0.6804 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4201, allocations: 216.6 kB / 0.6806 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.4202, allocations: 118.2 kB / 0.6807 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4202, allocations: 5.375 kB / 0.6807 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4204, allocations: 15.08 kB / 0.6807 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.4204, allocations: 17.17 kB / 0.6808 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4205, allocations: 10.72 kB / 0.6808 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001043/0.4206, allocations: 119.1 kB / 0.6809 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4206, allocations: 1.125 kB / 0.6809 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003826/0.421, allocations: 81.95 kB / 0.681 GB, free: 9.723 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002904/0.4213, allocations: 176 kB / 0.6811 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.4215, allocations: 120.8 kB / 0.6812 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4215, allocations: 5.594 kB / 0.6812 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.4216, allocations: 44.3 kB / 0.6813 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.422, allocations: 55.97 kB / 0.6813 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.4227, allocations: 340.3 kB / 0.6817 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4231, allocations: 0.7119 MB / 0.6824 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.4233, allocations: 43.58 kB / 0.6824 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.4233, allocations: 29.23 kB / 0.6824 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.4233, allocations: 0 / 0.6824 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of Templates: time 0.008026/0.4313, allocations: 3.431 MB / 0.6858 GB, free: 6.801 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)