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.001132/0.001132, 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.001388/0.001388, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.377/1.377, 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.7671/0.7671, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 64.5 kB / 0.5019 GB, free: 8.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1616, allocations: 80.2 MB / 0.5802 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003301/0.1649, allocations: 1.638 MB / 0.5818 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5259/0.6909, allocations: 151.5 MB / 0.7298 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.6911, allocations: 2.281 kB / 0.7298 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.6913, allocations: 15.52 kB / 0.7298 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.6917, allocations: 47.62 kB / 0.7298 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.6923, allocations: 144.2 kB / 0.73 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.6926, allocations: 128 kB / 0.7301 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.6928, allocations: 32.11 kB / 0.7301 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.6942, allocations: 165 kB / 0.7303 GB, free: 2.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.6943, allocations: 45.38 kB / 0.7303 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.6944, allocations: 7.125 kB / 0.7303 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.6949, allocations: 177.6 kB / 0.7305 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.695, allocations: 21.75 kB / 0.7305 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.6951, allocations: 48.5 kB / 0.7306 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.6956, allocations: 181 kB / 0.7307 GB, free: 2.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6956, allocations: 1 kB / 0.7307 GB, free: 2.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.787e-06/0.6956, allocations: 4 kB / 0.7308 GB, free: 2.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.6956, allocations: 10.08 kB / 0.7308 GB, free: 2.199 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.0008821/0.6965, allocations: 444.1 kB / 0.7312 GB, free: 1.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6966, allocations: 8.75 kB / 0.7312 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.6966, allocations: 38.16 kB / 0.7312 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6977, allocations: 85.58 kB / 0.7313 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.698, allocations: 205 kB / 0.7315 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6981, allocations: 6.594 kB / 0.7315 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.6981, allocations: 5.469 kB / 0.7315 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.6986, allocations: 146.1 kB / 0.7317 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6986, allocations: 1.156 kB / 0.7317 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.6986, allocations: 0 / 0.7317 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6986, allocations: 6.125 kB / 0.7317 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.6992, allocations: 137.8 kB / 0.7318 GB, free: 1.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.7002, allocations: 420.8 kB / 0.7322 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.7009, allocations: 245.9 kB / 0.7324 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.7012, allocations: 78.17 kB / 0.7325 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.7012, allocations: 6.297 kB / 0.7325 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.7012, allocations: 32.94 kB / 0.7325 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.7013, allocations: 4 kB / 0.7325 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008596/0.7021, allocations: 211.6 kB / 0.7328 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.7022, allocations: 56.75 kB / 0.7328 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.7024, allocations: 148.7 kB / 0.7329 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.7024, allocations: 25.7 kB / 0.733 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.7025, allocations: 108.4 kB / 0.7331 GB, free: 480 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.7025, allocations: 25.31 kB / 0.7331 GB, free: 460 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.7026, allocations: 24.38 kB / 0.7331 GB, free: 440 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7027, allocations: 324.9 kB / 0.7334 GB, free: 112 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.703, allocations: 54.77 kB / 0.7335 GB, free: 100 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.7032, allocations: 73.53 kB / 0.7336 GB, free: 64 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.7038, allocations: 124.3 kB / 0.7337 GB, free: 24 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7038, allocations: 0 / 0.7337 GB, free: 24 kB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005391/0.7043, allocations: 166.9 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7044, allocations: 9.844 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.7044, allocations: 0.9375 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.7044, allocations: 3.188 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.7046, allocations: 27.27 kB / 0.7339 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.7046, allocations: 2.547 kB / 0.7339 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7048, allocations: 18.3 kB / 0.7339 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.7048, allocations: 3.125 kB / 0.7339 GB, free: 15.95 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.0001123/0.7049, allocations: 126.7 kB / 0.734 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.705, allocations: 8.75 kB / 0.734 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.7051, allocations: 18.59 kB / 0.734 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7051, allocations: 5.594 kB / 0.734 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7051, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7051, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/0.706, allocations: 468.4 kB / 0.7345 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.706, allocations: 0 / 0.7345 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.7062, allocations: 29.03 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.7062, allocations: 7.281 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.7062, allocations: 4 kB / 0.7345 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.7062, allocations: 6.625 kB / 0.7345 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7062, allocations: 0 / 0.7345 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.7068, allocations: 251.5 kB / 0.7348 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.7069, allocations: 86.72 kB / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.7069, allocations: 5.344 kB / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.7071, allocations: 16.72 kB / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.7071, allocations: 8.609 kB / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.7072, allocations: 6.469 kB / 0.7349 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001234/0.7073, allocations: 112.3 kB / 0.735 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7073, allocations: 4 kB / 0.735 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003024/0.7076, allocations: 31.12 kB / 0.735 GB, free: 15.06 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.001149/0.7088, allocations: 0.807 MB / 0.7358 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.7093, allocations: 128.2 kB / 0.7359 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7093, allocations: 4 kB / 0.736 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.7096, allocations: 63.34 kB / 0.736 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.71, allocations: 42.36 kB / 0.7361 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.7135, allocations: 1.718 MB / 0.7377 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.7141, allocations: 0.7113 MB / 0.7384 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.7143, allocations: 28.05 kB / 0.7385 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7144, allocations: 37.86 kB / 0.7385 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.7144, allocations: 0 / 0.7385 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.7485, allocations: 3.304 MB / 0.7417 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.494, allocations: 13.66 kB / 0.7417 GB, free: 10.79 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/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)