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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001301/0.001301, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7746/0.7746, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001175, allocations: 63.73 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1942, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003068/0.1973, allocations: 1.694 MB / 0.5811 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5809/0.7782, allocations: 149.3 MB / 0.7269 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.7784, allocations: 1.562 kB / 0.7269 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.7786, allocations: 12.72 kB / 0.7269 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.7789, allocations: 37.3 kB / 0.727 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.7793, allocations: 123.7 kB / 0.7271 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.7795, allocations: 118.4 kB / 0.7272 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.7797, allocations: 30.38 kB / 0.7272 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.7814, allocations: 159.7 kB / 0.7274 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.7815, allocations: 42.73 kB / 0.7274 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.7816, allocations: 4.469 kB / 0.7274 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.782, allocations: 185.1 kB / 0.7276 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.7821, allocations: 17.47 kB / 0.7276 GB, free: 4.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.7822, allocations: 39.31 kB / 0.7276 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.7826, allocations: 185 kB / 0.7278 GB, free: 4.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7826, allocations: 0 / 0.7278 GB, free: 4.277 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7826, allocations: 4 kB / 0.7278 GB, free: 4.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7826, allocations: 0 / 0.7278 GB, free: 4.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.0007416/0.7833, allocations: 443.8 kB / 0.7282 GB, free: 3.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7834, allocations: 9.312 kB / 0.7283 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.7834, allocations: 46.12 kB / 0.7283 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.7844, allocations: 86.31 kB / 0.7284 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.7847, allocations: 206.5 kB / 0.7286 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.7847, allocations: 3.625 kB / 0.7286 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.7847, allocations: 9.781 kB / 0.7286 GB, free: 3.574 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.7851, allocations: 134.1 kB / 0.7287 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7852, allocations: 1.125 kB / 0.7287 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.7852, allocations: 4 kB / 0.7287 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7852, allocations: 9.75 kB / 0.7287 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.7858, allocations: 138.2 kB / 0.7289 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.7866, allocations: 410.4 kB / 0.7293 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.7873, allocations: 257.2 kB / 0.7295 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.7876, allocations: 70.5 kB / 0.7296 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.7876, allocations: 2.594 kB / 0.7296 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.7877, allocations: 38.56 kB / 0.7296 GB, free: 2.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7877, allocations: 0 / 0.7296 GB, free: 2.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008169/0.7885, allocations: 212 kB / 0.7298 GB, free: 2.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.7885, allocations: 56.41 kB / 0.7299 GB, free: 2.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.7887, allocations: 148.4 kB / 0.73 GB, free: 2.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.7887, allocations: 26.8 kB / 0.73 GB, free: 2.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.7888, allocations: 105.2 kB / 0.7301 GB, free: 2.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.7889, allocations: 27.16 kB / 0.7302 GB, free: 2.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.7889, allocations: 24.45 kB / 0.7302 GB, free: 2.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7891, allocations: 326.3 kB / 0.7305 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.7893, allocations: 57.77 kB / 0.7305 GB, free: 2.164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.7895, allocations: 80.67 kB / 0.7306 GB, free: 2.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.79, allocations: 118.7 kB / 0.7307 GB, free: 2.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.79, allocations: 3.938 kB / 0.7307 GB, free: 2.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005489/0.7906, allocations: 163.5 kB / 0.7309 GB, free: 2.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7906, allocations: 10.06 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7906, allocations: 0.8906 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7906, allocations: 1.5 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.7909, allocations: 26.22 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.7909, allocations: 1.812 kB / 0.7309 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.7911, allocations: 18.67 kB / 0.731 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.7911, allocations: 7.844 kB / 0.731 GB, free: 2.008 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.7912, allocations: 124 kB / 0.7311 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.7913, allocations: 12.34 kB / 0.7311 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.7914, allocations: 13.34 kB / 0.7311 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7914, allocations: 1.375 kB / 0.7311 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.7914, allocations: 5.094 kB / 0.7311 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7914, allocations: 0.7969 kB / 0.7311 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.7924, allocations: 469.7 kB / 0.7316 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7924, allocations: 0 / 0.7316 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.7926, allocations: 33.23 kB / 0.7316 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7926, allocations: 0 / 0.7316 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.7926, allocations: 1.375 kB / 0.7316 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7926, allocations: 10.45 kB / 0.7316 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7926, allocations: 1.375 kB / 0.7316 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.7932, allocations: 259.1 kB / 0.7318 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.7932, allocations: 83.89 kB / 0.7319 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.7933, allocations: 1.25 kB / 0.7319 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.7935, allocations: 21.91 kB / 0.732 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.7935, allocations: 8 kB / 0.732 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.7935, allocations: 3.062 kB / 0.732 GB, free: 1.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.698e-05/0.7936, allocations: 119.4 kB / 0.7321 GB, free: 1.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7937, allocations: 1.281 kB / 0.7321 GB, free: 1.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003179/0.794, allocations: 30.81 kB / 0.7321 GB, free: 1.121 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 (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.0009134/0.7949, allocations: 0.7988 MB / 0.7329 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.7954, allocations: 128.2 kB / 0.733 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7954, allocations: 4 kB / 0.733 GB, free: 404 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.7957, allocations: 72.45 kB / 0.7331 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.796, allocations: 35.08 kB / 0.7331 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.7989, allocations: 1.739 MB / 0.7348 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.7992, allocations: 0.7001 MB / 0.7355 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.7994, allocations: 31.5 kB / 0.7355 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.7995, allocations: 33.86 kB / 0.7356 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.7995, allocations: 0 / 0.7356 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.814, allocations: 3.017 MB / 0.7385 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.8142, allocations: 200 kB / 0.7387 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.711, allocations: 7.938 kB / 0.7387 GB, free: 12.96 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)