Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.004634/0.004634, allocations: 103 kB / 15.74 MB, free: 6.059 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.001279/0.001279, allocations: 189.2 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8133/0.8133, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 66.33 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1379, allocations: 80.21 MB / 0.6593 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01613/0.1541, allocations: 12.98 MB / 0.6719 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1571, allocations: 2.671 MB / 0.6745 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.1572, allocations: 0 / 0.6745 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1575, allocations: 43.69 kB / 0.6746 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1578, allocations: 103.3 kB / 0.6747 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1589, allocations: 0.492 MB / 0.6752 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1592, allocations: 231.9 kB / 0.6754 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1592, allocations: 13.56 kB / 0.6754 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008199/0.1674, allocations: 3.584 MB / 0.6789 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1676, allocations: 91.66 kB / 0.679 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1676, allocations: 8 kB / 0.679 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.17, allocations: 1.068 MB / 0.68 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1701, allocations: 43.89 kB / 0.6801 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.1702, allocations: 83.64 kB / 0.6802 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.1709, allocations: 366.7 kB / 0.6805 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1709, allocations: 4 kB / 0.6805 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1709, allocations: 0 / 0.6805 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1709, allocations: 0 / 0.6805 GB, free: 4.832 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.000738/0.1716, allocations: 0.4986 MB / 0.681 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1717, allocations: 12.03 kB / 0.681 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.1718, allocations: 50.73 kB / 0.6811 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1719, allocations: 32.83 kB / 0.6811 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1722, allocations: 216.1 kB / 0.6813 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1722, allocations: 12.7 kB / 0.6813 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1723, allocations: 12.38 kB / 0.6813 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.1727, allocations: 255.9 kB / 0.6816 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1727, allocations: 0 / 0.6816 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1727, allocations: 4 kB / 0.6816 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.1727, allocations: 12 kB / 0.6816 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.1733, allocations: 435.5 kB / 0.682 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1745, allocations: 0.9605 MB / 0.6829 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.1748, allocations: 163 kB / 0.6831 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1749, allocations: 72.86 kB / 0.6832 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.1764, allocations: 1.829 MB / 0.6849 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1765, allocations: 38.56 kB / 0.685 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1765, allocations: 0 / 0.685 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000343/0.1768, allocations: 151.6 kB / 0.6851 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1769, allocations: 55.41 kB / 0.6852 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.177, allocations: 171.2 kB / 0.6853 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1771, allocations: 33.7 kB / 0.6854 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.1772, allocations: 144.1 kB / 0.6855 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1772, allocations: 51.59 kB / 0.6856 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.1773, allocations: 53.66 kB / 0.6856 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1775, allocations: 326.8 kB / 0.6859 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.1775, allocations: 35.97 kB / 0.686 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1777, allocations: 142.2 kB / 0.6861 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1779, allocations: 201.5 kB / 0.6863 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.178, allocations: 0 / 0.6863 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003431/0.1783, allocations: 220.1 kB / 0.6865 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1783, allocations: 8 kB / 0.6865 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1783, allocations: 0 / 0.6865 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1784, allocations: 11.94 kB / 0.6865 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1785, allocations: 51.92 kB / 0.6866 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1786, allocations: 11.92 kB / 0.6866 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1787, allocations: 27.84 kB / 0.6866 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1787, allocations: 16 kB / 0.6866 GB, free: 13.84 MB / 0.5294 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.0001168/0.1788, allocations: 133.9 kB / 0.6867 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1789, allocations: 19.84 kB / 0.6868 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.1792, allocations: 153.8 kB / 0.6869 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.1792, allocations: 11.86 kB / 0.6869 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1792, allocations: 4 kB / 0.6869 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1792, allocations: 0 / 0.6869 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1795, allocations: 213.6 kB / 0.6871 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1795, allocations: 0 / 0.6871 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.1796, allocations: 27.98 kB / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1796, allocations: 0 / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1796, allocations: 0 / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.1796, allocations: 15.92 kB / 0.6872 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1797, allocations: 0 / 0.6872 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1799, allocations: 221.8 kB / 0.6874 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.18, allocations: 112.9 kB / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1801, allocations: 8 kB / 0.6875 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1803, allocations: 11.92 kB / 0.6875 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1803, allocations: 12 kB / 0.6875 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1803, allocations: 11.98 kB / 0.6875 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.515e-05/0.1804, allocations: 120 kB / 0.6876 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1804, allocations: 0 / 0.6876 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003789/0.1808, allocations: 87.84 kB / 0.6877 GB, free: 12.61 MB / 0.5294 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.0007468/0.1816, allocations: 0.8325 MB / 0.6885 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1818, allocations: 112.6 kB / 0.6886 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1818, allocations: 8.062 kB / 0.6887 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.1819, allocations: 39.92 kB / 0.6887 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1823, allocations: 73.86 kB / 0.6888 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1847, allocations: 2.042 MB / 0.6908 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1851, allocations: 0.7206 MB / 0.6915 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.1852, allocations: 45.75 kB / 0.6915 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.1853, allocations: 47.42 kB / 0.6916 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1853, allocations: 0 / 0.6916 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/0.3305, allocations: 5.469 MB / 0.6969 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.728, allocations: 4.938 kB / 0.6969 GB, free: 3.16 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)