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.00973/0.00973, allocations: 102.5 kB / 15.73 MB, free: 5.973 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.001248/0.001248, allocations: 196.1 kB / 16.68 MB, free: 5.898 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8303/0.8303, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 56.72 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 80.22 MB / 0.6593 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01632/0.1782, allocations: 12.97 MB / 0.6719 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1813, allocations: 2.667 MB / 0.6745 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1814, allocations: 4 kB / 0.6745 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1817, allocations: 43.67 kB / 0.6746 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1821, allocations: 99.36 kB / 0.6747 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1835, allocations: 0.4964 MB / 0.6752 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.1838, allocations: 235.9 kB / 0.6754 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.464e-05/0.1839, allocations: 13.56 kB / 0.6754 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009921/0.1938, allocations: 3.58 MB / 0.6789 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1941, allocations: 91.64 kB / 0.679 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1941, allocations: 8 kB / 0.679 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.1975, allocations: 1.068 MB / 0.68 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.1976, allocations: 43.83 kB / 0.6801 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1977, allocations: 79.66 kB / 0.6801 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1987, allocations: 367 kB / 0.6805 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1988, allocations: 4 kB / 0.6805 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1988, allocations: 0 / 0.6805 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.1988, allocations: 0 / 0.6805 GB, free: 5.004 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.0009499/0.1997, allocations: 0.5031 MB / 0.681 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1998, allocations: 8.031 kB / 0.681 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.1999, allocations: 50.73 kB / 0.681 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.2001, allocations: 24.75 kB / 0.6811 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2005, allocations: 220.1 kB / 0.6813 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2005, allocations: 12.69 kB / 0.6813 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.2005, allocations: 24.36 kB / 0.6813 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.201, allocations: 244 kB / 0.6815 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.201, allocations: 0 / 0.6815 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.201, allocations: 16 kB / 0.6816 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.201, allocations: 4 kB / 0.6816 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.2016, allocations: 427.5 kB / 0.682 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2028, allocations: 0.9642 MB / 0.6829 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.2031, allocations: 167 kB / 0.6831 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2033, allocations: 56.89 kB / 0.6831 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.2048, allocations: 1.837 MB / 0.6849 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2049, allocations: 42.48 kB / 0.685 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2049, allocations: 0 / 0.685 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000362/0.2053, allocations: 156.4 kB / 0.6851 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.2053, allocations: 51.41 kB / 0.6852 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2055, allocations: 171.3 kB / 0.6853 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2055, allocations: 29.7 kB / 0.6853 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.2056, allocations: 143.8 kB / 0.6855 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.2057, allocations: 51.2 kB / 0.6855 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.2058, allocations: 61.59 kB / 0.6856 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2059, allocations: 322.8 kB / 0.6859 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.18e-05/0.206, allocations: 31.98 kB / 0.6859 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2061, allocations: 150.1 kB / 0.6861 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.2064, allocations: 193.5 kB / 0.6863 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2064, allocations: 4 kB / 0.6863 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003407/0.2067, allocations: 205.5 kB / 0.6865 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2068, allocations: 11.98 kB / 0.6865 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2068, allocations: 4 kB / 0.6865 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2068, allocations: 7.938 kB / 0.6865 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.207, allocations: 55.86 kB / 0.6865 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.207, allocations: 4 kB / 0.6865 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2071, allocations: 27.69 kB / 0.6866 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2072, allocations: 19.98 kB / 0.6866 GB, free: 14.02 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.0001138/0.2073, allocations: 134 kB / 0.6867 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2073, allocations: 15.81 kB / 0.6867 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2076, allocations: 160.9 kB / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2077, allocations: 3.938 kB / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2077, allocations: 0 / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2077, allocations: 3.984 kB / 0.6869 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.208, allocations: 217.5 kB / 0.6871 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.208, allocations: 0 / 0.6871 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.2081, allocations: 27.98 kB / 0.6871 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2081, allocations: 0 / 0.6871 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2081, allocations: 11.94 kB / 0.6871 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2081, allocations: 3.938 kB / 0.6871 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2081, allocations: 0 / 0.6871 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2084, allocations: 227.2 kB / 0.6874 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2085, allocations: 101 kB / 0.6875 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2085, allocations: 4 kB / 0.6875 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2087, allocations: 19.92 kB / 0.6875 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.2088, allocations: 11.98 kB / 0.6875 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2088, allocations: 15.98 kB / 0.6875 GB, free: 13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.2089, allocations: 116 kB / 0.6876 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2089, allocations: 0 / 0.6876 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004094/0.2093, allocations: 83.84 kB / 0.6877 GB, free: 12.8 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.0007982/0.2101, allocations: 0.8322 MB / 0.6885 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2104, allocations: 128.4 kB / 0.6886 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2104, allocations: 0 / 0.6886 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.2105, allocations: 43.92 kB / 0.6887 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.211, allocations: 59.88 kB / 0.6887 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.2134, allocations: 2.045 MB / 0.6907 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.2137, allocations: 0.7129 MB / 0.6914 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.2139, allocations: 55.69 kB / 0.6915 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.214, allocations: 43.42 kB / 0.6915 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.214, allocations: 0 / 0.6915 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2372, allocations: 5.519 MB / 0.6969 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.055, allocations: 15.5 kB / 0.6969 GB, free: 3.301 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)