Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_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.001574/0.001574, allocations: 96.27 kB / 15.68 MB, free: 488 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.002162/0.002162, allocations: 174 kB / 16.56 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 2.41/2.41, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.153/1.153, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000568/0.0005685, allocations: 8 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3338, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003124/0.3371, allocations: 1.309 MB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 1.006/1.343, allocations: 127.9 MB / 0.6829 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/1.344, allocations: 0 / 0.6829 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/1.344, allocations: 7.922 kB / 0.6829 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006015/1.345, allocations: 47.81 kB / 0.6829 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.346, allocations: 119.7 kB / 0.6831 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/1.346, allocations: 79.83 kB / 0.6831 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/1.347, allocations: 27.77 kB / 0.6832 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/1.347, allocations: 99.75 kB / 0.6833 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/1.347, allocations: 31.84 kB / 0.6833 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/1.347, allocations: 11.94 kB / 0.6833 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/1.348, allocations: 183.8 kB / 0.6835 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/1.348, allocations: 15.92 kB / 0.6835 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/1.348, allocations: 41.64 kB / 0.6835 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/1.349, allocations: 130.1 kB / 0.6837 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.349, allocations: 0 / 0.6837 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.357e-06/1.349, allocations: 4 kB / 0.6837 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.349, allocations: 0 / 0.6837 GB, free: 8.137 MB / 0.4981 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.001129/1.35, allocations: 442.1 kB / 0.6841 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/1.35, allocations: 8.031 kB / 0.6841 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/1.35, allocations: 38.55 kB / 0.6841 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/1.351, allocations: 79.81 kB / 0.6842 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/1.352, allocations: 213.2 kB / 0.6844 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.352, allocations: 8 kB / 0.6844 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/1.352, allocations: 4 kB / 0.6844 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/1.352, allocations: 149.5 kB / 0.6846 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.353, allocations: 0 / 0.6846 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/1.353, allocations: 0 / 0.6846 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.353, allocations: 4 kB / 0.6846 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/1.353, allocations: 159.9 kB / 0.6847 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/1.355, allocations: 408.4 kB / 0.6851 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.356, allocations: 267.6 kB / 0.6854 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/1.356, allocations: 160 / 0.6854 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/1.356, allocations: 30.56 kB / 0.6854 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/1.356, allocations: 0 / 0.6854 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001208/1.357, allocations: 253.4 kB / 0.6856 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.357, allocations: 51.41 kB / 0.6857 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/1.357, allocations: 143.5 kB / 0.6858 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/1.357, allocations: 33.7 kB / 0.6858 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/1.357, allocations: 108.2 kB / 0.686 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/1.357, allocations: 23.8 kB / 0.686 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/1.358, allocations: 0 / 0.686 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.358, allocations: 322.8 kB / 0.6863 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.358, allocations: 71.94 kB / 0.6863 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/1.358, allocations: 86.45 kB / 0.6864 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/1.359, allocations: 67.98 kB / 0.6865 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.359, allocations: 0 / 0.6865 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007543/1.36, allocations: 185.4 kB / 0.6867 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.36, allocations: 4 kB / 0.6867 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.36, allocations: 3.984 kB / 0.6867 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.36, allocations: 0 / 0.6867 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/1.36, allocations: 39.91 kB / 0.6867 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/1.36, allocations: 3.938 kB / 0.6867 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/1.36, allocations: 27.89 kB / 0.6867 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/1.36, allocations: 0 / 0.6867 GB, free: 4.723 MB / 0.4981 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.0002252/1.361, allocations: 121.8 kB / 0.6869 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/1.361, allocations: 11.86 kB / 0.6869 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/1.361, allocations: 16.72 kB / 0.6869 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.361, allocations: 0 / 0.6869 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.361, allocations: 5.938 kB / 0.6869 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.361, allocations: 3.984 kB / 0.6869 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.362, allocations: 495.4 kB / 0.6874 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.362, allocations: 0 / 0.6874 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.363, allocations: 39.95 kB / 0.6874 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.363, allocations: 0 / 0.6874 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/1.363, allocations: 0 / 0.6874 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.363, allocations: 0 / 0.6874 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.363, allocations: 0 / 0.6874 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/1.364, allocations: 279.9 kB / 0.6877 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.364, allocations: 88.97 kB / 0.6878 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/1.364, allocations: 4 kB / 0.6878 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/1.364, allocations: 23.97 kB / 0.6878 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.364, allocations: 8 kB / 0.6878 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/1.364, allocations: 4.547 kB / 0.6878 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001278/1.364, allocations: 109.1 kB / 0.6879 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.364, allocations: 0 / 0.6879 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004469/1.365, allocations: 32 kB / 0.6879 GB, free: 3.41 MB / 0.4981 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.001234/1.366, allocations: 0.83 MB / 0.6887 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000768/1.367, allocations: 151.8 kB / 0.6889 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.367, allocations: 4 kB / 0.6889 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/1.367, allocations: 75.94 kB / 0.689 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/1.368, allocations: 35.86 kB / 0.689 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.37, allocations: 0.8132 MB / 0.6898 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/1.371, allocations: 0.7083 MB / 0.6905 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002475/1.371, allocations: 28.41 kB / 0.6905 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.371, allocations: 27.42 kB / 0.6905 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/1.371, allocations: 0 / 0.6905 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/1.393, allocations: 2.959 MB / 0.6934 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/1.393, allocations: 190.1 kB / 0.6936 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.645, allocations: 0 / 0.6936 GB, free: 13.63 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: