Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006029/0.006029, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001254/0.001254, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7675/0.7675, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.61 kB / 0.5809 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.21 MB / 0.6592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006228/0.1662, allocations: 4.715 MB / 0.6638 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1695, allocations: 2.698 MB / 0.6665 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1697, allocations: 4 kB / 0.6665 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.17, allocations: 47.67 kB / 0.6665 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1704, allocations: 99.36 kB / 0.6666 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1717, allocations: 0.4959 MB / 0.6671 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.172, allocations: 232 kB / 0.6673 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.172, allocations: 13.56 kB / 0.6673 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1723, allocations: 123.5 kB / 0.6674 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1725, allocations: 91.61 kB / 0.6675 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.1726, allocations: 8 kB / 0.6675 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009451/0.1735, allocations: 363.3 kB / 0.6679 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1736, allocations: 39.83 kB / 0.6679 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1738, allocations: 91.58 kB / 0.668 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008073/0.1746, allocations: 346.9 kB / 0.6683 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1746, allocations: 0 / 0.6683 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1746, allocations: 4 kB / 0.6683 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.1746, allocations: 0 / 0.6683 GB, free: 4.504 MB / 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.0008663/0.1755, allocations: 0.5031 MB / 0.6688 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1755, allocations: 11.97 kB / 0.6689 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.157e-05/0.1756, allocations: 58.67 kB / 0.6689 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.1758, allocations: 24.73 kB / 0.6689 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1761, allocations: 204.2 kB / 0.6691 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1761, allocations: 16.7 kB / 0.6691 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1761, allocations: 20.38 kB / 0.6692 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.1765, allocations: 240.7 kB / 0.6694 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1765, allocations: 3.938 kB / 0.6694 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1766, allocations: 15.98 kB / 0.6694 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.1766, allocations: 4 kB / 0.6694 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.1771, allocations: 427.5 kB / 0.6698 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1782, allocations: 0.9526 MB / 0.6708 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1784, allocations: 159.7 kB / 0.6709 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.1786, allocations: 65.75 kB / 0.671 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.18, allocations: 1.825 MB / 0.6727 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.18, allocations: 34.56 kB / 0.6728 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.18, allocations: 4 kB / 0.6728 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003201/0.1803, allocations: 145.4 kB / 0.6729 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1804, allocations: 55.34 kB / 0.673 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1805, allocations: 173.6 kB / 0.6731 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1805, allocations: 33.69 kB / 0.6732 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.1806, allocations: 139.7 kB / 0.6733 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.1807, allocations: 55.2 kB / 0.6734 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.1807, allocations: 53.69 kB / 0.6734 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1809, allocations: 326.8 kB / 0.6737 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.1809, allocations: 35.98 kB / 0.6738 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1811, allocations: 135 kB / 0.6739 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1813, allocations: 205.4 kB / 0.6741 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1813, allocations: 4 kB / 0.6741 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000305/0.1816, allocations: 208.2 kB / 0.6743 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1816, allocations: 8.469 kB / 0.6743 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1817, allocations: 4 kB / 0.6743 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1817, allocations: 11.94 kB / 0.6743 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1819, allocations: 55.91 kB / 0.6744 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1819, allocations: 11.94 kB / 0.6744 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.182, allocations: 27.69 kB / 0.6744 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.182, allocations: 8 kB / 0.6744 GB, free: 13.56 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.0001058/0.1821, allocations: 145.7 kB / 0.6745 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.1822, allocations: 15.81 kB / 0.6746 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1825, allocations: 155 kB / 0.6747 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.1825, allocations: 7.938 kB / 0.6747 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1825, allocations: 0 / 0.6747 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1825, allocations: 0 / 0.6747 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1827, allocations: 217.5 kB / 0.6749 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1827, allocations: 0 / 0.6749 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.1828, allocations: 27.92 kB / 0.675 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1828, allocations: 0 / 0.675 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1829, allocations: 8 kB / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1829, allocations: 3.938 kB / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1829, allocations: 0 / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1831, allocations: 215.4 kB / 0.6752 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.1832, allocations: 112.9 kB / 0.6753 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1832, allocations: 0 / 0.6753 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1834, allocations: 23.92 kB / 0.6753 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1835, allocations: 11.92 kB / 0.6753 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1835, allocations: 15.94 kB / 0.6753 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.437e-05/0.1836, allocations: 121.6 kB / 0.6754 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1836, allocations: 4 kB / 0.6754 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004149/0.184, allocations: 79.92 kB / 0.6755 GB, free: 12.32 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.0006736/0.1847, allocations: 0.8245 MB / 0.6763 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.1849, allocations: 115.8 kB / 0.6764 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1849, allocations: 0 / 0.6764 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.185, allocations: 47.91 kB / 0.6765 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1855, allocations: 56.77 kB / 0.6765 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1875, allocations: 2.035 MB / 0.6785 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1878, allocations: 0.7128 MB / 0.6792 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.1879, allocations: 49.91 kB / 0.6793 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.188, allocations: 43.42 kB / 0.6793 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of SimCode: time 2.134e-06/0.188, allocations: 0 / 0.6793 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2095, allocations: 5.298 MB / 0.6845 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.892, allocations: 4.422 kB / 0.6845 GB, free: 3.051 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)