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.0007847/0.0007848, allocations: 91.61 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.0008904/0.0008905, 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.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.3 MB / 426.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8.219 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2038, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002316/0.2062, allocations: 1.324 MB / 0.5888 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4635/0.6697, allocations: 137.7 MB / 0.7232 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.6698, allocations: 1.031 kB / 0.7232 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.67, allocations: 11.53 kB / 0.7232 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.6702, allocations: 36.61 kB / 0.7232 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.6707, allocations: 123.7 kB / 0.7234 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.6709, allocations: 108.2 kB / 0.7235 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.6711, allocations: 25.39 kB / 0.7235 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.6715, allocations: 116.2 kB / 0.7236 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.6716, allocations: 35.56 kB / 0.7236 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.6716, allocations: 3.406 kB / 0.7236 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.6721, allocations: 187.5 kB / 0.7238 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.6722, allocations: 13.5 kB / 0.7238 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.6722, allocations: 40.27 kB / 0.7239 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.6725, allocations: 126.1 kB / 0.724 GB, free: 8.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6725, allocations: 0 / 0.724 GB, free: 8.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6726, allocations: 0 / 0.724 GB, free: 8.277 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6726, allocations: 4.969 kB / 0.724 GB, free: 8.273 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.0007247/0.6733, allocations: 440.5 kB / 0.7244 GB, free: 7.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6733, allocations: 9.766 kB / 0.7244 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.6734, allocations: 42.06 kB / 0.7245 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.6743, allocations: 85.75 kB / 0.7245 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.6746, allocations: 197.3 kB / 0.7247 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.6746, allocations: 7.375 kB / 0.7247 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.6746, allocations: 9.375 kB / 0.7247 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.6751, allocations: 151.9 kB / 0.7249 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6751, allocations: 0.75 kB / 0.7249 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.6751, allocations: 4 kB / 0.7249 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6751, allocations: 2.219 kB / 0.7249 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.6757, allocations: 162.6 kB / 0.7251 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.6765, allocations: 402.8 kB / 0.7254 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.6773, allocations: 263.3 kB / 0.7257 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.6776, allocations: 92.42 kB / 0.7258 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6776, allocations: 1.891 kB / 0.7258 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6776, allocations: 35.78 kB / 0.7258 GB, free: 6.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.6776, allocations: 0 / 0.7258 GB, free: 6.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008027/0.6784, allocations: 254.7 kB / 0.7261 GB, free: 6.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6785, allocations: 52.28 kB / 0.7261 GB, free: 6.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.6786, allocations: 152.8 kB / 0.7263 GB, free: 6.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.6787, allocations: 25.7 kB / 0.7263 GB, free: 6.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.6787, allocations: 100.5 kB / 0.7264 GB, free: 6.547 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.6788, allocations: 33.92 kB / 0.7264 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.6788, allocations: 0 / 0.7264 GB, free: 6.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6789, allocations: 325.1 kB / 0.7267 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.6791, allocations: 64.39 kB / 0.7268 GB, free: 6.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6794, allocations: 88.12 kB / 0.7269 GB, free: 6.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6796, allocations: 68.73 kB / 0.7269 GB, free: 6.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6796, allocations: 0.7969 kB / 0.7269 GB, free: 6.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005082/0.6801, allocations: 181.1 kB / 0.7271 GB, free: 6.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6802, allocations: 5.953 kB / 0.7271 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6802, allocations: 0 / 0.7271 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6802, allocations: 1.281 kB / 0.7271 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6804, allocations: 35.73 kB / 0.7271 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6804, allocations: 2.062 kB / 0.7271 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6806, allocations: 24.53 kB / 0.7272 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.6806, allocations: 2.406 kB / 0.7272 GB, free: 6.059 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 0.0001009/0.6807, allocations: 123.7 kB / 0.7273 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.6808, allocations: 13.19 kB / 0.7273 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.6809, allocations: 13.81 kB / 0.7273 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6809, allocations: 4.812 kB / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6809, allocations: 1.734 kB / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6809, allocations: 0 / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.6817, allocations: 492.5 kB / 0.7278 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6818, allocations: 0.8125 kB / 0.7278 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.6819, allocations: 32.39 kB / 0.7278 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.682, allocations: 3.984 kB / 0.7278 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.682, allocations: 2.641 kB / 0.7278 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.682, allocations: 2.953 kB / 0.7278 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.682, allocations: 8.562 kB / 0.7278 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.6826, allocations: 281.6 kB / 0.7281 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.6826, allocations: 88.34 kB / 0.7282 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.6826, allocations: 1.891 kB / 0.7282 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.6828, allocations: 28.31 kB / 0.7282 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6829, allocations: 9.672 kB / 0.7282 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6829, allocations: 4.109 kB / 0.7282 GB, free: 5.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.737e-05/0.683, allocations: 110.5 kB / 0.7283 GB, free: 5.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.683, allocations: 3.938 kB / 0.7283 GB, free: 5.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002922/0.6833, allocations: 32.2 kB / 0.7284 GB, free: 5.156 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 (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.0008828/0.6842, allocations: 0.8208 MB / 0.7292 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.6847, allocations: 147.4 kB / 0.7293 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6847, allocations: 5.344 kB / 0.7293 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.6849, allocations: 78.09 kB / 0.7294 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.6854, allocations: 32.73 kB / 0.7294 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.6872, allocations: 0.8185 MB / 0.7302 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.6874, allocations: 0.7037 MB / 0.7309 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.6876, allocations: 22.66 kB / 0.7309 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.6877, allocations: 30.59 kB / 0.731 GB, free: 3.195 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.6877, allocations: 4 kB / 0.731 GB, free: 3.191 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.7014, allocations: 2.993 MB / 0.7339 GB, free: 2.969 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.7017, allocations: 191.7 kB / 0.7341 GB, free: 2.734 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.582, allocations: 112 / 0.7341 GB, free: 2.734 MB / 0.545 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/linux/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) Environment - environmentSimulation: