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.001137/0.001137, 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.001198/0.001198, allocations: 197 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9401/0.9401, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.5 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1747, allocations: 80.92 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00308/0.1779, allocations: 1.26 MB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4709/0.6487, allocations: 132 MB / 0.7146 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.6488, allocations: 1.125 kB / 0.7146 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.6489, allocations: 4.641 kB / 0.7146 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.6489, allocations: 6.453 kB / 0.7146 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.6493, allocations: 59.91 kB / 0.7147 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.6493, allocations: 25 kB / 0.7147 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.6494, allocations: 2.703 kB / 0.7147 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.6494, allocations: 9.656 kB / 0.7147 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.6495, allocations: 6.062 kB / 0.7147 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.6495, allocations: 9.469 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.6496, allocations: 14.75 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.6496, allocations: 0.6562 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.6496, allocations: 8.781 kB / 0.7148 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.6497, allocations: 33.62 kB / 0.7148 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6498, allocations: 1.094 kB / 0.7148 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6498, allocations: 0 / 0.7148 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6498, allocations: 0 / 0.7148 GB, free: 12.16 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.0003666/0.6501, allocations: 334.8 kB / 0.7151 GB, free: 11.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6502, allocations: 9.594 kB / 0.7151 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.6502, allocations: 32.72 kB / 0.7152 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.6503, allocations: 8.156 kB / 0.7152 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.6504, allocations: 163.1 kB / 0.7153 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.6504, allocations: 34.33 kB / 0.7154 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.6504, allocations: 1.688 kB / 0.7154 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.6506, allocations: 44.48 kB / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.6506, allocations: 0 / 0.7154 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.6506, allocations: 5.219 kB / 0.7154 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.6506, allocations: 0 / 0.7154 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.6507, allocations: 14.48 kB / 0.7154 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.6508, allocations: 152 kB / 0.7156 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.6509, allocations: 35.8 kB / 0.7156 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.651, allocations: 16 kB / 0.7156 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.6511, allocations: 92.3 kB / 0.7157 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.6512, allocations: 40.52 kB / 0.7157 GB, free: 11.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6512, allocations: 0 / 0.7157 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002066/0.6514, allocations: 62.06 kB / 0.7158 GB, free: 11.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6514, allocations: 53.47 kB / 0.7159 GB, free: 11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.6515, allocations: 99.61 kB / 0.716 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.6515, allocations: 25.7 kB / 0.716 GB, free: 10.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.6515, allocations: 80.14 kB / 0.7161 GB, free: 10.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.6516, allocations: 10.17 kB / 0.7161 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.6516, allocations: 19.89 kB / 0.7161 GB, free: 10.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.6517, allocations: 315.5 kB / 0.7164 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.6517, allocations: 7.359 kB / 0.7164 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.6518, allocations: 10.73 kB / 0.7164 GB, free: 10.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.6519, allocations: 21.39 kB / 0.7164 GB, free: 10.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6519, allocations: 0 / 0.7164 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.652, allocations: 49.59 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.652, allocations: 8.5 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.652, allocations: 1.438 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.652, allocations: 4.656 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.6521, allocations: 5.953 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6521, allocations: 1.406 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.6521, allocations: 1.953 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6522, allocations: 5.609 kB / 0.7165 GB, free: 10.38 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.219e-05/0.6522, allocations: 111.2 kB / 0.7166 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.6522, allocations: 6.812 kB / 0.7166 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.6524, allocations: 57.56 kB / 0.7167 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6524, allocations: 0.7812 kB / 0.7167 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6524, allocations: 3.266 kB / 0.7167 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6524, allocations: 0.5625 kB / 0.7167 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.6525, allocations: 157.5 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6525, allocations: 0 / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.6526, allocations: 6.734 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.6526, allocations: 4.453 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.6526, allocations: 1.312 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6526, allocations: 0 / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6526, allocations: 5.797 kB / 0.7168 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.6527, allocations: 84.95 kB / 0.7169 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.6528, allocations: 89.02 kB / 0.717 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.6528, allocations: 1.094 kB / 0.717 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.6528, allocations: 5.672 kB / 0.717 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.6529, allocations: 6.344 kB / 0.717 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.6529, allocations: 1.797 kB / 0.717 GB, free: 9.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.6529, allocations: 82.72 kB / 0.7171 GB, free: 9.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6529, allocations: 0 / 0.7171 GB, free: 9.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001811/0.6531, allocations: 9.812 kB / 0.7171 GB, free: 9.75 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.000378/0.6535, allocations: 0.6206 MB / 0.7177 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.6536, allocations: 26.94 kB / 0.7177 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6536, allocations: 0 / 0.7177 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.6537, allocations: 9.547 kB / 0.7177 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.6539, allocations: 7.859 kB / 0.7178 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.6542, allocations: 170 kB / 0.7179 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.6544, allocations: 0.6812 MB / 0.7186 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.6545, allocations: 2.188 kB / 0.7186 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.6545, allocations: 9 kB / 0.7186 GB, free: 8.273 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6545, allocations: 0 / 0.7186 GB, free: 8.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/0.8218, allocations: 1.336 MB / 0.7199 GB, free: 7.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.028, allocations: 11.7 kB / 0.7199 GB, free: 7.945 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)