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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_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.00579/0.00579, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001126/0.001126, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7808/0.7808, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 61.06 kB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.92 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006705/0.165, allocations: 4.723 MB / 0.6688 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003277/0.1683, allocations: 2.706 MB / 0.6714 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1685, allocations: 3.938 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1688, allocations: 47.67 kB / 0.6715 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1692, allocations: 99.42 kB / 0.6716 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1707, allocations: 0.5008 MB / 0.6721 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.171, allocations: 235.9 kB / 0.6723 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.1711, allocations: 9.562 kB / 0.6723 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1713, allocations: 127.5 kB / 0.6724 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1715, allocations: 87.66 kB / 0.6725 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1715, allocations: 8 kB / 0.6725 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008057/0.1724, allocations: 371.3 kB / 0.6729 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.1725, allocations: 31.89 kB / 0.6729 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1726, allocations: 87.58 kB / 0.673 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1733, allocations: 358.8 kB / 0.6733 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1733, allocations: 0 / 0.6733 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1733, allocations: 0 / 0.6733 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.1733, allocations: 0 / 0.6733 GB, free: 12.84 MB / 0.5137 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.000798/0.1741, allocations: 0.5109 MB / 0.6738 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1742, allocations: 9.109 kB / 0.6738 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.1743, allocations: 46.73 kB / 0.6739 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.1744, allocations: 24.75 kB / 0.6739 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1747, allocations: 208.2 kB / 0.6741 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1748, allocations: 12.7 kB / 0.6741 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1748, allocations: 12.38 kB / 0.6741 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.1752, allocations: 256 kB / 0.6744 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1752, allocations: 0 / 0.6744 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1752, allocations: 8 kB / 0.6744 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.1753, allocations: 4 kB / 0.6744 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.1757, allocations: 427.4 kB / 0.6748 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1769, allocations: 0.9642 MB / 0.6757 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1772, allocations: 154.8 kB / 0.6759 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.1773, allocations: 64.83 kB / 0.6759 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.1786, allocations: 1.829 MB / 0.6777 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1787, allocations: 42.55 kB / 0.6778 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.896e-06/0.1787, allocations: 7.922 kB / 0.6778 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003291/0.179, allocations: 145.4 kB / 0.6779 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1791, allocations: 55.41 kB / 0.678 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1792, allocations: 172.2 kB / 0.6781 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1793, allocations: 33.7 kB / 0.6782 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.1794, allocations: 143.8 kB / 0.6783 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1794, allocations: 51.2 kB / 0.6784 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.1795, allocations: 49.7 kB / 0.6784 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1796, allocations: 322.8 kB / 0.6787 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.1797, allocations: 35.98 kB / 0.6787 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1798, allocations: 145.6 kB / 0.6789 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1801, allocations: 199.9 kB / 0.6791 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1801, allocations: 0 / 0.6791 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003376/0.1804, allocations: 217.1 kB / 0.6793 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1805, allocations: 11.98 kB / 0.6793 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1805, allocations: 4 kB / 0.6793 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1805, allocations: 7.938 kB / 0.6793 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1807, allocations: 52.33 kB / 0.6794 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1807, allocations: 4 kB / 0.6794 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1808, allocations: 31.69 kB / 0.6794 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1808, allocations: 19.98 kB / 0.6794 GB, free: 5.875 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.0001002/0.1809, allocations: 129.7 kB / 0.6795 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.181, allocations: 19.81 kB / 0.6795 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1813, allocations: 149.8 kB / 0.6797 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.1813, allocations: 7.938 kB / 0.6797 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1813, allocations: 0 / 0.6797 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1813, allocations: 3.984 kB / 0.6797 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1816, allocations: 221.5 kB / 0.6799 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1816, allocations: 0 / 0.6799 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.1817, allocations: 27.98 kB / 0.6799 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1817, allocations: 0 / 0.6799 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1817, allocations: 0 / 0.6799 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1817, allocations: 7.938 kB / 0.6799 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1817, allocations: 0 / 0.6799 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.182, allocations: 219.3 kB / 0.6802 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1821, allocations: 108.9 kB / 0.6803 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.1821, allocations: 11.94 kB / 0.6803 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1823, allocations: 15.92 kB / 0.6803 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1824, allocations: 11.98 kB / 0.6803 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.1824, allocations: 11.98 kB / 0.6803 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.003e-05/0.1825, allocations: 116 kB / 0.6804 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1825, allocations: 0 / 0.6804 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004015/0.1829, allocations: 79.94 kB / 0.6805 GB, free: 4.664 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.0007921/0.1837, allocations: 0.8345 MB / 0.6813 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.184, allocations: 121.5 kB / 0.6814 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.184, allocations: 0 / 0.6814 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.1841, allocations: 43.92 kB / 0.6815 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1845, allocations: 62.55 kB / 0.6815 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1868, allocations: 2.029 MB / 0.6835 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1871, allocations: 0.7168 MB / 0.6842 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.1873, allocations: 45.89 kB / 0.6843 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1874, allocations: 51.36 kB / 0.6843 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1874, allocations: 0 / 0.6843 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.2108, allocations: 5.237 MB / 0.6894 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.853, allocations: 9.375 kB / 0.6894 GB, free: 11.39 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)