Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_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.001399/0.001399, allocations: 108 kB / 15.61 MB, free: 152 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.001369/0.001369, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.833/0.833, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001856, allocations: 63.84 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5072, allocations: 80.19 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00331/0.5106, allocations: 1.276 MB / 0.5814 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/0.6772, allocations: 132 MB / 0.7104 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.6773, allocations: 0 / 0.7104 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.6774, allocations: 0 / 0.7104 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.376e-05/0.6775, allocations: 7.922 kB / 0.7104 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.6779, allocations: 55.72 kB / 0.7104 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.678, allocations: 19.88 kB / 0.7104 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.678, allocations: 0 / 0.7104 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.6781, allocations: 19.92 kB / 0.7105 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.6782, allocations: 8 kB / 0.7105 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.6782, allocations: 0 / 0.7105 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.6783, allocations: 15.98 kB / 0.7105 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.6783, allocations: 7.922 kB / 0.7105 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.6783, allocations: 4 kB / 0.7105 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.6784, allocations: 30.17 kB / 0.7105 GB, free: 11.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6785, allocations: 3.984 kB / 0.7105 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6785, allocations: 0 / 0.7105 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.6785, allocations: 0 / 0.7105 GB, free: 11.6 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.0003987/0.6789, allocations: 339.4 kB / 0.7109 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6789, allocations: 12.03 kB / 0.7109 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.679, allocations: 30.75 kB / 0.7109 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.679, allocations: 0.9375 kB / 0.7109 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6791, allocations: 168.3 kB / 0.7111 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.6792, allocations: 30.27 kB / 0.7111 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6793, allocations: 8.359 kB / 0.7111 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6794, allocations: 41.98 kB / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6794, allocations: 0 / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.6794, allocations: 4 kB / 0.7111 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6794, allocations: 0 / 0.7111 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.6795, allocations: 12 kB / 0.7112 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.6797, allocations: 153.7 kB / 0.7113 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.6798, allocations: 42.55 kB / 0.7113 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.6799, allocations: 8.859 kB / 0.7113 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.6801, allocations: 93.19 kB / 0.7114 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.6801, allocations: 38.5 kB / 0.7115 GB, free: 10.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6801, allocations: 3.938 kB / 0.7115 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000277/0.6804, allocations: 61.58 kB / 0.7115 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.6804, allocations: 55.34 kB / 0.7116 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.6805, allocations: 97.84 kB / 0.7117 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.6806, allocations: 25.7 kB / 0.7117 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.6806, allocations: 92.08 kB / 0.7118 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.6806, allocations: 7.844 kB / 0.7118 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.6807, allocations: 13.72 kB / 0.7118 GB, free: 10.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6808, allocations: 314.8 kB / 0.7121 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.6809, allocations: 7.984 kB / 0.7121 GB, free: 9.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.6809, allocations: 8 kB / 0.7121 GB, free: 9.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.681, allocations: 24.84 kB / 0.7122 GB, free: 9.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.681, allocations: 0 / 0.7122 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001284/0.6812, allocations: 53.69 kB / 0.7122 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6812, allocations: 17.89 kB / 0.7122 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6812, allocations: 0 / 0.7122 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6812, allocations: 0.5156 kB / 0.7122 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.6813, allocations: 4 kB / 0.7122 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.6813, allocations: 4 kB / 0.7122 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.6813, allocations: 0 / 0.7122 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6813, allocations: 3.984 kB / 0.7122 GB, free: 9.602 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 8.368e-05/0.6814, allocations: 117.8 kB / 0.7123 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.6815, allocations: 11.83 kB / 0.7124 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.6816, allocations: 53.17 kB / 0.7124 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6816, allocations: 0 / 0.7124 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6816, allocations: 4 kB / 0.7124 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6817, allocations: 3.984 kB / 0.7124 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6818, allocations: 153.7 kB / 0.7126 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6818, allocations: 3.938 kB / 0.7126 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.6818, allocations: 11.98 kB / 0.7126 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6818, allocations: 3.938 kB / 0.7126 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.6819, allocations: 0 / 0.7126 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6819, allocations: 0 / 0.7126 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6819, allocations: 0 / 0.7126 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.682, allocations: 73.12 kB / 0.7127 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.6821, allocations: 89.03 kB / 0.7127 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.6821, allocations: 0 / 0.7127 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.6822, allocations: 4 kB / 0.7127 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.6822, allocations: 7.984 kB / 0.7127 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.6822, allocations: 0 / 0.7127 GB, free: 8.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.6822, allocations: 79.28 kB / 0.7128 GB, free: 8.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6823, allocations: 7.938 kB / 0.7128 GB, free: 8.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001919/0.6825, allocations: 11.94 kB / 0.7128 GB, free: 8.871 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.0004436/0.6829, allocations: 0.6263 MB / 0.7135 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.6831, allocations: 15.98 kB / 0.7135 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6831, allocations: 4 kB / 0.7135 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.6831, allocations: 11.94 kB / 0.7135 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.6834, allocations: 7.984 kB / 0.7135 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.6838, allocations: 165.4 kB / 0.7136 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.684, allocations: 0.6768 MB / 0.7143 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.6841, allocations: 8 kB / 0.7143 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.6841, allocations: 7.438 kB / 0.7143 GB, free: 7.258 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.6841, allocations: 0 / 0.7143 GB, free: 7.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.7009, allocations: 1.33 MB / 0.7156 GB, free: 6.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/8.168, allocations: 6.375 kB / 0.7156 GB, free: 6.043 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)