Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.0007592/0.000759, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004969/0.004969, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9251/0.9251, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.31 MB / 0.5881 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001294/0.1596, allocations: 0.9901 MB / 0.5891 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4412/0.6008, allocations: 128.5 MB / 0.7145 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.6009, allocations: 0 / 0.7145 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.601, allocations: 0 / 0.7145 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.6011, allocations: 6.578 kB / 0.7145 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.6016, allocations: 51.05 kB / 0.7146 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.6017, allocations: 16.44 kB / 0.7146 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.6018, allocations: 6.719 kB / 0.7146 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.6018, allocations: 18.17 kB / 0.7146 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.6019, allocations: 6.203 kB / 0.7146 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.6019, allocations: 0 / 0.7146 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.602, allocations: 13.8 kB / 0.7147 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.6021, allocations: 6.438 kB / 0.7147 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.6021, allocations: 30.75 kB / 0.7147 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.6023, allocations: 28.56 kB / 0.7147 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6023, allocations: 4 kB / 0.7147 GB, free: 13.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6023, allocations: 0 / 0.7147 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6023, allocations: 1.062 kB / 0.7147 GB, free: 13.57 MB / 0.545 GB 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.0004823/0.6028, allocations: 331.7 kB / 0.715 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.6029, allocations: 8.656 kB / 0.715 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.6029, allocations: 32.56 kB / 0.7151 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.603, allocations: 3.281 kB / 0.7151 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6031, allocations: 164.1 kB / 0.7152 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.967e-05/0.6032, allocations: 38.61 kB / 0.7153 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.6032, allocations: 384 / 0.7153 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.6034, allocations: 44.25 kB / 0.7153 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6034, allocations: 1.156 kB / 0.7153 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.6034, allocations: 0 / 0.7153 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6035, allocations: 0 / 0.7153 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.081e-05/0.6036, allocations: 11.91 kB / 0.7153 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.6038, allocations: 156.9 kB / 0.7155 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.6039, allocations: 38.25 kB / 0.7155 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.604, allocations: 15.28 kB / 0.7155 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.6042, allocations: 89.92 kB / 0.7156 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.6042, allocations: 36.19 kB / 0.7156 GB, free: 12.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6042, allocations: 0 / 0.7156 GB, free: 12.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000252/0.6045, allocations: 66.64 kB / 0.7157 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.6045, allocations: 55.34 kB / 0.7158 GB, free: 12.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.6046, allocations: 100.6 kB / 0.7159 GB, free: 12.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.6046, allocations: 26.31 kB / 0.7159 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.6046, allocations: 80.14 kB / 0.716 GB, free: 12.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.6047, allocations: 17.88 kB / 0.716 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.6047, allocations: 15.58 kB / 0.716 GB, free: 12.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.6048, allocations: 312.9 kB / 0.7163 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.6048, allocations: 9.312 kB / 0.7163 GB, free: 11.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.6049, allocations: 10.94 kB / 0.7163 GB, free: 11.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.605, allocations: 22.27 kB / 0.7163 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.605, allocations: 0 / 0.7163 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/0.6051, allocations: 49.47 kB / 0.7164 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6051, allocations: 11.09 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6051, allocations: 0 / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.6052, allocations: 2.156 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.6052, allocations: 13.67 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6052, allocations: 0.6094 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.6053, allocations: 2.141 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.6053, allocations: 1.312 kB / 0.7164 GB, free: 11.79 MB / 0.545 GB 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 (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 prepare postOptimizeDAE: time 0.0001152/0.6054, allocations: 107.7 kB / 0.7165 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.6054, allocations: 5.469 kB / 0.7165 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.6056, allocations: 57.78 kB / 0.7166 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6056, allocations: 5.5 kB / 0.7166 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6056, allocations: 0.6562 kB / 0.7166 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6056, allocations: 0 / 0.7166 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.6057, allocations: 153.7 kB / 0.7167 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6057, allocations: 0 / 0.7167 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.6058, allocations: 9.484 kB / 0.7167 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.6058, allocations: 3.938 kB / 0.7167 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6058, allocations: 3.938 kB / 0.7167 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6058, allocations: 2.188 kB / 0.7167 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6058, allocations: 0 / 0.7167 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.606, allocations: 78 kB / 0.7168 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.6061, allocations: 85.12 kB / 0.7169 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.6061, allocations: 1.281 kB / 0.7169 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.6061, allocations: 5.969 kB / 0.7169 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6062, allocations: 6.844 kB / 0.7169 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.6062, allocations: 2.812 kB / 0.7169 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.6062, allocations: 82.23 kB / 0.717 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6062, allocations: 4 kB / 0.717 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002035/0.6064, allocations: 12.25 kB / 0.717 GB, free: 11.16 MB / 0.545 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 (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.0005026/0.607, allocations: 0.621 MB / 0.7176 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.6071, allocations: 21.59 kB / 0.7176 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6071, allocations: 4 kB / 0.7176 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.6072, allocations: 12.61 kB / 0.7177 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.6074, allocations: 10.12 kB / 0.7177 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.6078, allocations: 175.9 kB / 0.7178 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.608, allocations: 0.6792 MB / 0.7185 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.6081, allocations: 7.156 kB / 0.7185 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.6081, allocations: 10.64 kB / 0.7185 GB, free: 9.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6081, allocations: 0 / 0.7185 GB, free: 9.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/0.747, allocations: 1.142 MB / 0.7196 GB, free: 9.535 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/0.7473, allocations: 208.2 kB / 0.7198 GB, free: 9.285 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.707, allocations: 0 / 0.7198 GB, free: 9.285 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)