Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001117/0.001117, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001081/0.001081, allocations: 189.4 kB / 16.25 MB, free: 6.629 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.26/1.26, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 58.38 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.212, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003314/0.2154, allocations: 1.461 MB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.216, allocations: 203.4 kB / 0.5813 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.216, allocations: 0 / 0.5813 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.2161, allocations: 0 / 0.5813 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.2161, allocations: 4 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2164, allocations: 31.84 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.2165, allocations: 19.92 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.2166, allocations: 8 kB / 0.5814 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.2166, allocations: 7.984 kB / 0.5814 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.2167, allocations: 15.92 kB / 0.5814 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2167, allocations: 0 / 0.5814 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.2168, allocations: 31.97 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.2168, allocations: 4 kB / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.2168, allocations: 11.94 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.217, allocations: 44.05 kB / 0.5815 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.217, allocations: 0 / 0.5815 GB, free: 7.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.217, allocations: 4 kB / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.217, allocations: 0 / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004661/0.2175, allocations: 335.5 kB / 0.5818 GB, free: 6.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2175, allocations: 12.03 kB / 0.5818 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.2176, allocations: 34.73 kB / 0.5818 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.2177, allocations: 8.938 kB / 0.5818 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2178, allocations: 164.3 kB / 0.582 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.2178, allocations: 384 / 0.582 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2179, allocations: 384 / 0.582 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.218, allocations: 50.23 kB / 0.582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2181, allocations: 3.938 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2181, allocations: 0 / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2181, allocations: 4 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.2183, allocations: 39.89 kB / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2186, allocations: 252.8 kB / 0.5823 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.2187, allocations: 42.53 kB / 0.5824 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.2188, allocations: 20.91 kB / 0.5824 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2189, allocations: 4 kB / 0.5824 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2189, allocations: 34.55 kB / 0.5824 GB, free: 6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2189, allocations: 0 / 0.5824 GB, free: 6 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003477/0.2192, allocations: 85.58 kB / 0.5825 GB, free: 5.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2193, allocations: 51.41 kB / 0.5826 GB, free: 5.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.2194, allocations: 106 kB / 0.5827 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2194, allocations: 29.7 kB / 0.5827 GB, free: 5.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.2194, allocations: 80.14 kB / 0.5828 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2195, allocations: 7.844 kB / 0.5828 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2195, allocations: 17.72 kB / 0.5828 GB, free: 5.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.2196, allocations: 310.8 kB / 0.5831 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.2197, allocations: 15.97 kB / 0.5831 GB, free: 5.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.2198, allocations: 23.98 kB / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2199, allocations: 36.77 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2199, allocations: 7.875 kB / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.2201, allocations: 65.66 kB / 0.5832 GB, free: 5.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2202, allocations: 5.719 kB / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2202, allocations: 4 kB / 0.5832 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2202, allocations: 4.094 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.2203, allocations: 7.984 kB / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2203, allocations: 0 / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.2204, allocations: 7.984 kB / 0.5833 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2204, allocations: 4 kB / 0.5833 GB, free: 5.086 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 7.27e-05/0.2205, allocations: 113.8 kB / 0.5834 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2205, allocations: 0 / 0.5834 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.2207, allocations: 84.7 kB / 0.5835 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2207, allocations: 0 / 0.5835 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2207, allocations: 0 / 0.5835 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2208, allocations: 4 kB / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2209, allocations: 161.5 kB / 0.5836 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2209, allocations: 0 / 0.5836 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.221, allocations: 11.98 kB / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.221, allocations: 0 / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.221, allocations: 4 kB / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.221, allocations: 0 / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.221, allocations: 0 / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2213, allocations: 175.4 kB / 0.5838 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.2213, allocations: 77.11 kB / 0.5839 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2213, allocations: 4 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.2214, allocations: 8 kB / 0.5839 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.2215, allocations: 7.984 kB / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2215, allocations: 4 kB / 0.5839 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.2215, allocations: 79.28 kB / 0.584 GB, free: 4.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.2215, allocations: 0 / 0.584 GB, free: 4.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.2217, allocations: 7.938 kB / 0.584 GB, free: 4.254 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0004921/0.2222, allocations: 0.7011 MB / 0.5847 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.2224, allocations: 43.89 kB / 0.5847 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2225, allocations: 0 / 0.5847 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.2225, allocations: 19.98 kB / 0.5847 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2229, allocations: 10.12 kB / 0.5847 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.2233, allocations: 164.2 kB / 0.5849 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.2236, allocations: 0.6806 MB / 0.5856 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.2236, allocations: 7.938 kB / 0.5856 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.2237, allocations: 11.42 kB / 0.5856 GB, free: 2.531 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2237, allocations: 4 kB / 0.5856 GB, free: 2.527 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.248/2.472, allocations: 1.199 MB / 0.5867 GB, free: 1.496 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/2.472, allocations: 207.4 kB / 0.5869 GB, free: 1.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/4.408, allocations: 0 / 0.5869 GB, free: 1.242 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)