Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_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.001124/0.001124, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007619/0.007619, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 82.31 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001681/0.1748, allocations: 1.347 MB / 0.5894 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4092/0.5841, allocations: 147.7 MB / 0.7336 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.5842, allocations: 1.031 kB / 0.7336 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.5843, allocations: 11.7 kB / 0.7336 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.5846, allocations: 41.95 kB / 0.7336 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.585, allocations: 127.8 kB / 0.7338 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.5852, allocations: 115.4 kB / 0.7339 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.5853, allocations: 30.42 kB / 0.7339 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.5872, allocations: 144 kB / 0.734 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.5873, allocations: 39.91 kB / 0.7341 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.5873, allocations: 7.141 kB / 0.7341 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.5878, allocations: 181 kB / 0.7342 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.5878, allocations: 16.41 kB / 0.7343 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.5879, allocations: 65.22 kB / 0.7343 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.5883, allocations: 176.9 kB / 0.7345 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5883, allocations: 0 / 0.7345 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.216e-06/0.5883, allocations: 1.891 kB / 0.7345 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5883, allocations: 0 / 0.7345 GB, free: 15.29 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.0006615/0.589, allocations: 441.2 kB / 0.7349 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.589, allocations: 10.12 kB / 0.7349 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.5891, allocations: 39.8 kB / 0.735 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.59, allocations: 84.16 kB / 0.735 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.5903, allocations: 215.4 kB / 0.7352 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5903, allocations: 3.188 kB / 0.7353 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.5903, allocations: 13.12 kB / 0.7353 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.5908, allocations: 148.8 kB / 0.7354 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.5909, allocations: 0 / 0.7354 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5909, allocations: 0.9688 kB / 0.7354 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5909, allocations: 5.219 kB / 0.7354 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.5915, allocations: 163.2 kB / 0.7356 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.5924, allocations: 411.1 kB / 0.736 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.5932, allocations: 263.1 kB / 0.7362 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.5936, allocations: 90.47 kB / 0.7363 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.5936, allocations: 1.375 kB / 0.7363 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5936, allocations: 32.92 kB / 0.7363 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.5936, allocations: 0 / 0.7363 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0009265/0.5946, allocations: 242.3 kB / 0.7366 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5946, allocations: 57.41 kB / 0.7366 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5948, allocations: 146.4 kB / 0.7368 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.5948, allocations: 25.7 kB / 0.7368 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.5949, allocations: 112.1 kB / 0.7369 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.5949, allocations: 25.14 kB / 0.7369 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.5949, allocations: 16.5 kB / 0.7369 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5951, allocations: 325.1 kB / 0.7372 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.5953, allocations: 68.3 kB / 0.7373 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.5956, allocations: 88.64 kB / 0.7374 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.5961, allocations: 149.6 kB / 0.7375 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5961, allocations: 1.594 kB / 0.7375 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005563/0.5966, allocations: 181.5 kB / 0.7377 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5967, allocations: 6.609 kB / 0.7377 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5967, allocations: 0 / 0.7377 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5967, allocations: 1.156 kB / 0.7377 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5969, allocations: 39.78 kB / 0.7377 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.597, allocations: 1.219 kB / 0.7377 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5971, allocations: 22.59 kB / 0.7378 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.5972, allocations: 3.141 kB / 0.7378 GB, free: 13.02 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.0001359/0.5973, allocations: 119.8 kB / 0.7379 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.5974, allocations: 12.44 kB / 0.7379 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.5974, allocations: 18.03 kB / 0.7379 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5975, allocations: 1 kB / 0.7379 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5975, allocations: 0 / 0.7379 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.5975, allocations: 2.297 kB / 0.7379 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5985, allocations: 497.8 kB / 0.7384 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5986, allocations: 0 / 0.7384 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.5988, allocations: 32.95 kB / 0.7384 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5988, allocations: 1.344 kB / 0.7384 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5988, allocations: 1.438 kB / 0.7384 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5988, allocations: 3.938 kB / 0.7384 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5988, allocations: 0 / 0.7384 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.5995, allocations: 282.8 kB / 0.7387 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.5996, allocations: 87.19 kB / 0.7388 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.5996, allocations: 2 kB / 0.7388 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.5998, allocations: 23.69 kB / 0.7388 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.5999, allocations: 13.14 kB / 0.7388 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.6, allocations: 3.062 kB / 0.7388 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001207/0.6001, allocations: 109.8 kB / 0.7389 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/0.6001, allocations: 3.938 kB / 0.7389 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003552/0.6004, allocations: 41.34 kB / 0.739 GB, free: 12.12 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.00121/0.6017, allocations: 0.8201 MB / 0.7398 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006745/0.6024, allocations: 142.2 kB / 0.7399 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6024, allocations: 0 / 0.7399 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.6026, allocations: 82.52 kB / 0.74 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.603, allocations: 38.89 kB / 0.74 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.6066, allocations: 1.806 MB / 0.7418 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.607, allocations: 0.7008 MB / 0.7425 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.6072, allocations: 29.36 kB / 0.7425 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.6073, allocations: 29.92 kB / 0.7425 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6073, allocations: 0 / 0.7425 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5788/1.186, allocations: 2.98 MB / 0.7454 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/1.186, allocations: 199.8 kB / 0.7456 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.324, allocations: 0 / 0.7456 GB, free: 8.293 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)