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.0008049/0.0008049, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00492/0.004921, allocations: 170 kB / 16.26 MB, free: 6.613 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.429/1.429, 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/package.mo): time 0.7737/0.7737, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12.28 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4742, allocations: 81.57 MB / 0.5837 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001993/0.4763, allocations: 1.354 MB / 0.5851 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1916/0.6679, allocations: 147.7 MB / 0.7293 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.668, allocations: 0 / 0.7293 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.6682, allocations: 7.922 kB / 0.7293 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.6685, allocations: 35.78 kB / 0.7293 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.6689, allocations: 123.5 kB / 0.7294 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.6691, allocations: 123.6 kB / 0.7296 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.6692, allocations: 27.64 kB / 0.7296 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.6713, allocations: 155 kB / 0.7297 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.6714, allocations: 35.84 kB / 0.7298 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.6714, allocations: 7.938 kB / 0.7298 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.672, allocations: 187.6 kB / 0.7299 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.672, allocations: 15.92 kB / 0.73 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.6721, allocations: 57.52 kB / 0.73 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.6726, allocations: 183.4 kB / 0.7302 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6726, allocations: 0 / 0.7302 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.577e-06/0.6726, allocations: 0 / 0.7302 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6726, allocations: 0 / 0.7302 GB, free: 9.832 MB / 0.5606 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.0007909/0.6734, allocations: 444.6 kB / 0.7306 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.6735, allocations: 12.03 kB / 0.7306 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.6735, allocations: 34.75 kB / 0.7307 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6746, allocations: 83.66 kB / 0.7307 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.6749, allocations: 210.8 kB / 0.7309 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6749, allocations: 7.938 kB / 0.731 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.6749, allocations: 8 kB / 0.731 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.6754, allocations: 156.3 kB / 0.7311 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.6754, allocations: 4 kB / 0.7311 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.6755, allocations: 3.938 kB / 0.7311 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6755, allocations: 4 kB / 0.7311 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.6761, allocations: 159.9 kB / 0.7313 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.677, allocations: 412.4 kB / 0.7317 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.6777, allocations: 263.7 kB / 0.7319 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.678, allocations: 88.8 kB / 0.732 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.678, allocations: 0 / 0.732 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.678, allocations: 34.56 kB / 0.732 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6781, allocations: 0 / 0.732 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0009596/0.679, allocations: 245.4 kB / 0.7323 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.6791, allocations: 55.34 kB / 0.7323 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.6792, allocations: 146.5 kB / 0.7325 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.6793, allocations: 29.7 kB / 0.7325 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.6794, allocations: 100 kB / 0.7326 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.6794, allocations: 35.77 kB / 0.7326 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.6795, allocations: 9.719 kB / 0.7326 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6796, allocations: 326.8 kB / 0.7329 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.6799, allocations: 67.94 kB / 0.733 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.6801, allocations: 90.81 kB / 0.7331 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.6806, allocations: 140.8 kB / 0.7332 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6806, allocations: 0 / 0.7332 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005214/0.6811, allocations: 193.3 kB / 0.7334 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6812, allocations: 4 kB / 0.7334 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6812, allocations: 0 / 0.7334 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6812, allocations: 0 / 0.7334 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.6814, allocations: 31.97 kB / 0.7334 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6814, allocations: 4 kB / 0.7334 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.6816, allocations: 23.97 kB / 0.7335 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.6816, allocations: 7.938 kB / 0.7335 GB, free: 6.203 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.6817, allocations: 121.8 kB / 0.7336 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.6818, allocations: 7.906 kB / 0.7336 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.6819, allocations: 20.7 kB / 0.7336 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6819, allocations: 0 / 0.7336 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6819, allocations: 0 / 0.7336 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6819, allocations: 0 / 0.7336 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.6828, allocations: 490.2 kB / 0.7341 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6828, allocations: 0 / 0.7341 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.683, allocations: 35.97 kB / 0.7341 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.683, allocations: 3.938 kB / 0.7341 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.683, allocations: 4 kB / 0.7341 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.683, allocations: 3.938 kB / 0.7341 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.683, allocations: 0 / 0.7341 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.6837, allocations: 287.3 kB / 0.7344 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.6837, allocations: 85.02 kB / 0.7345 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.6838, allocations: 3.984 kB / 0.7345 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.684, allocations: 27.83 kB / 0.7345 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.684, allocations: 7.984 kB / 0.7345 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.684, allocations: 8 kB / 0.7345 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.6841, allocations: 114.5 kB / 0.7346 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6842, allocations: 0 / 0.7346 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002862/0.6844, allocations: 35.94 kB / 0.7347 GB, free: 4.871 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 (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.001019/0.6855, allocations: 0.8177 MB / 0.7355 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.686, allocations: 144.3 kB / 0.7356 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.686, allocations: 4 kB / 0.7356 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6863, allocations: 80.03 kB / 0.7357 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.6867, allocations: 39.7 kB / 0.7357 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.6896, allocations: 1.805 MB / 0.7375 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.6899, allocations: 0.7004 MB / 0.7382 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.6901, allocations: 28.41 kB / 0.7382 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.6902, allocations: 27.52 kB / 0.7382 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.6902, allocations: 3.938 kB / 0.7382 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.7039, allocations: 2.959 MB / 0.7411 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.7042, allocations: 200.1 kB / 0.7413 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.959, allocations: 3.875 kB / 0.7413 GB, free: 14.07 MB / 0.5762 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/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)