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.001076/0.001076, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 196 kB / 16.54 MB, free: 6.672 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.112/1.112, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 68.78 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1682, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003849/0.1721, allocations: 1.267 MB / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4127/0.5848, allocations: 132 MB / 0.7146 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.5849, allocations: 0 / 0.7146 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.5849, allocations: 3.938 kB / 0.7147 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.585, allocations: 9.922 kB / 0.7147 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.5854, allocations: 54.28 kB / 0.7147 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.5855, allocations: 20.97 kB / 0.7147 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.5856, allocations: 1.859 kB / 0.7147 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.5856, allocations: 18.64 kB / 0.7148 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.5857, allocations: 9.953 kB / 0.7148 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.5857, allocations: 0 / 0.7148 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.5858, allocations: 14.77 kB / 0.7148 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.5858, allocations: 2.359 kB / 0.7148 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.5859, allocations: 7.188 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.586, allocations: 30.73 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.586, allocations: 0 / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.586, allocations: 0 / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.586, allocations: 1.781 kB / 0.7148 GB, free: 12.18 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.0004507/0.5865, allocations: 337.2 kB / 0.7151 GB, free: 11.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5865, allocations: 10.09 kB / 0.7151 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.5866, allocations: 32.39 kB / 0.7152 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.5866, allocations: 4.531 kB / 0.7152 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5868, allocations: 162.8 kB / 0.7153 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.5868, allocations: 34.42 kB / 0.7154 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.5869, allocations: 1.812 kB / 0.7154 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.587, allocations: 43.59 kB / 0.7154 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.587, allocations: 4 kB / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.587, allocations: 1.094 kB / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5871, allocations: 0 / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.5872, allocations: 19.69 kB / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.5873, allocations: 154 kB / 0.7156 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.403e-05/0.5874, allocations: 34.28 kB / 0.7156 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.5875, allocations: 11.34 kB / 0.7156 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.5877, allocations: 97.36 kB / 0.7157 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5877, allocations: 39.97 kB / 0.7158 GB, free: 11.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5877, allocations: 0 / 0.7158 GB, free: 11.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002349/0.5879, allocations: 58.11 kB / 0.7158 GB, free: 11.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.588, allocations: 52.91 kB / 0.7159 GB, free: 11.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.5881, allocations: 98.64 kB / 0.716 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5881, allocations: 26.27 kB / 0.716 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.5881, allocations: 86.28 kB / 0.7161 GB, free: 10.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.5881, allocations: 9.562 kB / 0.7161 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.5882, allocations: 13.17 kB / 0.7161 GB, free: 10.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5883, allocations: 317.2 kB / 0.7164 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.5884, allocations: 5.969 kB / 0.7164 GB, free: 10.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.5884, allocations: 10.81 kB / 0.7164 GB, free: 10.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/0.5885, allocations: 26.73 kB / 0.7164 GB, free: 10.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5885, allocations: 0 / 0.7164 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001326/0.5887, allocations: 48.75 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5887, allocations: 11.97 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5887, allocations: 1.25 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5887, allocations: 1.781 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.5888, allocations: 6.516 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5888, allocations: 0 / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.5888, allocations: 3.406 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.5889, allocations: 4 kB / 0.7165 GB, free: 10.39 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 6.763e-05/0.5889, allocations: 117.1 kB / 0.7166 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5889, allocations: 6.109 kB / 0.7166 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.5891, allocations: 57.44 kB / 0.7167 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5891, allocations: 0 / 0.7167 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5891, allocations: 1.5 kB / 0.7167 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5892, allocations: 0 / 0.7167 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.5893, allocations: 153.4 kB / 0.7168 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5893, allocations: 7.938 kB / 0.7168 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.5893, allocations: 6.547 kB / 0.7168 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5893, allocations: 8.531 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.5893, allocations: 4.469 kB / 0.7169 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5894, allocations: 0 / 0.7169 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5894, allocations: 1.266 kB / 0.7169 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.5895, allocations: 78.7 kB / 0.7169 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.5896, allocations: 91.53 kB / 0.717 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.5896, allocations: 1.953 kB / 0.717 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.5897, allocations: 1.797 kB / 0.717 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.5897, allocations: 3.156 kB / 0.717 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.5897, allocations: 1.344 kB / 0.717 GB, free: 9.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.5897, allocations: 83.2 kB / 0.7171 GB, free: 9.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5897, allocations: 0 / 0.7171 GB, free: 9.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002025/0.59, allocations: 8.438 kB / 0.7171 GB, free: 9.762 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.0004648/0.5904, allocations: 0.6283 MB / 0.7177 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.5906, allocations: 22.52 kB / 0.7177 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5906, allocations: 1.062 kB / 0.7177 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.5907, allocations: 9.094 kB / 0.7178 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.5909, allocations: 9.375 kB / 0.7178 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.5913, allocations: 165.7 kB / 0.7179 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.5915, allocations: 0.6768 MB / 0.7186 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.5916, allocations: 6.078 kB / 0.7186 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.5916, allocations: 9.906 kB / 0.7186 GB, free: 8.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5916, allocations: 0 / 0.7186 GB, free: 8.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.6129, allocations: 1.329 MB / 0.7199 GB, free: 7.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.904, allocations: 12.66 kB / 0.7199 GB, free: 7.961 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)