Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.0007902/0.0007902, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008359/0.0008359, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7941/0.7941, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003252, allocations: 8 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4906, allocations: 81.58 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001837/0.4925, allocations: 1.332 MB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.6578, allocations: 137.7 MB / 0.7189 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.658, allocations: 0 / 0.7189 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.6581, allocations: 11.92 kB / 0.7189 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.6584, allocations: 35.78 kB / 0.719 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.6589, allocations: 119.5 kB / 0.7191 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.6591, allocations: 111.6 kB / 0.7192 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.6592, allocations: 23.62 kB / 0.7192 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.6596, allocations: 111.8 kB / 0.7193 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.6597, allocations: 43.77 kB / 0.7194 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.6598, allocations: 8 kB / 0.7194 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.6602, allocations: 171.7 kB / 0.7195 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.6602, allocations: 15.94 kB / 0.7195 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.6603, allocations: 37.64 kB / 0.7196 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.6606, allocations: 139.7 kB / 0.7197 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6606, allocations: 0 / 0.7197 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6606, allocations: 0 / 0.7197 GB, free: 4.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6606, allocations: 0 / 0.7197 GB, free: 4.375 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000633/0.6612, allocations: 434.9 kB / 0.7201 GB, free: 3.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6613, allocations: 8.031 kB / 0.7201 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.6613, allocations: 42.55 kB / 0.7202 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000911/0.6622, allocations: 79.72 kB / 0.7202 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.6625, allocations: 206.8 kB / 0.7204 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6625, allocations: 4 kB / 0.7204 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.6626, allocations: 12 kB / 0.7205 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.663, allocations: 153.5 kB / 0.7206 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.663, allocations: 0 / 0.7206 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.6631, allocations: 4 kB / 0.7206 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6631, allocations: 0 / 0.7206 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.6636, allocations: 159.9 kB / 0.7208 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.6644, allocations: 408.5 kB / 0.7211 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.6651, allocations: 271.7 kB / 0.7214 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.6653, allocations: 84.8 kB / 0.7215 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6654, allocations: 4 kB / 0.7215 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.6654, allocations: 30.56 kB / 0.7215 GB, free: 2.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.6654, allocations: 0 / 0.7215 GB, free: 2.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007918/0.6662, allocations: 253.3 kB / 0.7218 GB, free: 2.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.6662, allocations: 51.41 kB / 0.7218 GB, free: 2.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.6664, allocations: 154.4 kB / 0.722 GB, free: 1.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.6664, allocations: 25.7 kB / 0.722 GB, free: 1.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.6665, allocations: 100.3 kB / 0.7221 GB, free: 1.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.6665, allocations: 35.62 kB / 0.7221 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.6666, allocations: 8 kB / 0.7221 GB, free: 1.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6667, allocations: 318.8 kB / 0.7224 GB, free: 1.344 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.6669, allocations: 59.94 kB / 0.7225 GB, free: 1.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.6671, allocations: 90.52 kB / 0.7226 GB, free: 1.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.6673, allocations: 67.98 kB / 0.7226 GB, free: 1.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6674, allocations: 0 / 0.7226 GB, free: 1.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004628/0.6678, allocations: 177.5 kB / 0.7228 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6679, allocations: 4 kB / 0.7228 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6679, allocations: 4 kB / 0.7228 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6679, allocations: 7.938 kB / 0.7228 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.6681, allocations: 35.91 kB / 0.7229 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.6681, allocations: 0 / 0.7229 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.6683, allocations: 27.92 kB / 0.7229 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.6683, allocations: 4 kB / 0.7229 GB, free: 0.8594 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.6684, allocations: 117.8 kB / 0.723 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.6684, allocations: 15.81 kB / 0.723 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.6685, allocations: 16.7 kB / 0.723 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6685, allocations: 4 kB / 0.723 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6685, allocations: 0 / 0.723 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6685, allocations: 0 / 0.723 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/0.6693, allocations: 486.2 kB / 0.7235 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6694, allocations: 4 kB / 0.7235 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.6695, allocations: 27.97 kB / 0.7235 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6696, allocations: 4 kB / 0.7235 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6696, allocations: 0 / 0.7235 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6696, allocations: 4 kB / 0.7235 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6696, allocations: 3.953 kB / 0.7235 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.6701, allocations: 283.9 kB / 0.7238 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.6702, allocations: 88.92 kB / 0.7239 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.6702, allocations: 3.984 kB / 0.7239 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6704, allocations: 23.98 kB / 0.7239 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.6705, allocations: 11.94 kB / 0.7239 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.6705, allocations: 8 kB / 0.7239 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.106e-05/0.6706, allocations: 114.5 kB / 0.724 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6706, allocations: 0 / 0.724 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002895/0.6709, allocations: 28 kB / 0.7241 GB, free: 15.54 MB / 0.5606 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000863/0.6718, allocations: 0.8255 MB / 0.7249 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.6722, allocations: 147.9 kB / 0.725 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6723, allocations: 0 / 0.725 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.6725, allocations: 87.81 kB / 0.7251 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.6729, allocations: 31.83 kB / 0.7251 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.6746, allocations: 0.8212 MB / 0.7259 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6749, allocations: 0.7043 MB / 0.7266 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.6751, allocations: 28.41 kB / 0.7267 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.6752, allocations: 31.42 kB / 0.7267 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.6752, allocations: 0 / 0.7267 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.691, allocations: 2.965 MB / 0.7296 GB, free: 10 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.6912, allocations: 190.4 kB / 0.7298 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.463, allocations: 3.375 kB / 0.7298 GB, free: 9.758 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: