Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 180.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009994/0.0009993, allocations: 91.33 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.418e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8387, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.667, allocations: 2.07 GB / 3.043 GB, free: 59.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.668, allocations: 80.45 kB / 3.043 GB, free: 59.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6553/6.323, allocations: 66.74 MB / 3.109 GB, free: 328.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.432e-06/6.323, allocations: 2.812 kB / 3.109 GB, free: 328.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.507e-05/6.323, allocations: 4.969 kB / 3.109 GB, free: 328.7 MB / 0.948 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.0006098/6.324, allocations: 444.2 kB / 3.109 GB, free: 328.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/6.324, allocations: 9.281 kB / 3.109 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/6.324, allocations: 77.47 kB / 3.109 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/6.325, allocations: 222 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/6.325, allocations: 2.375 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/6.325, allocations: 4.719 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002498/6.325, allocations: 65.61 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/6.325, allocations: 94.36 kB / 3.11 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/6.325, allocations: 1.156 kB / 3.11 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/6.325, allocations: 0 / 3.11 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/6.325, allocations: 4.812 kB / 3.11 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/6.326, allocations: 381.5 kB / 3.11 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/6.326, allocations: 191.3 kB / 3.11 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/6.327, allocations: 52.66 kB / 3.11 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/6.327, allocations: 3.562 kB / 3.11 GB, free: 327.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/6.327, allocations: 38.16 kB / 3.11 GB, free: 327.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/6.327, allocations: 0 / 3.11 GB, free: 327.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002576/6.327, allocations: 95.25 kB / 3.11 GB, free: 327.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/6.327, allocations: 52.47 kB / 3.11 GB, free: 327.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/6.327, allocations: 115.1 kB / 3.11 GB, free: 327.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/6.327, allocations: 25.7 kB / 3.11 GB, free: 327.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/6.327, allocations: 109.5 kB / 3.111 GB, free: 327.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/6.327, allocations: 22.59 kB / 3.111 GB, free: 327.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/6.327, allocations: 0 / 3.111 GB, free: 327.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/6.327, allocations: 320.2 kB / 3.111 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/6.327, allocations: 24.48 kB / 3.111 GB, free: 327.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/6.327, allocations: 49.67 kB / 3.111 GB, free: 327.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/6.327, allocations: 30.34 kB / 3.111 GB, free: 327.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/6.327, allocations: 1.031 kB / 3.111 GB, free: 327.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/6.328, allocations: 105.9 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/6.328, allocations: 6.625 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/6.328, allocations: 0.75 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/6.328, allocations: 1.469 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/6.328, allocations: 34.94 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/6.328, allocations: 1.156 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/6.328, allocations: 27.06 kB / 3.111 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/6.328, allocations: 5.219 kB / 3.111 GB, free: 327 MB / 0.948 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 () * 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 5.566e-05/6.328, allocations: 110.6 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000168/6.328, allocations: 100 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/6.328, allocations: 8.094 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/6.328, allocations: 21.27 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/6.328, allocations: 1.062 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/6.328, allocations: 1.641 kB / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/6.328, allocations: 0 / 3.111 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/6.329, allocations: 374.7 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/6.329, allocations: 8.312 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/6.329, allocations: 32.05 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/6.329, allocations: 1.375 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/6.329, allocations: 1.172 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/6.329, allocations: 1.375 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/6.329, allocations: 4 kB / 3.112 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/6.329, allocations: 199 kB / 3.112 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/6.329, allocations: 84.47 kB / 3.112 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/6.329, allocations: 2.109 kB / 3.112 GB, free: 326.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/6.33, allocations: 34.38 kB / 3.112 GB, free: 326.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/6.33, allocations: 10.56 kB / 3.112 GB, free: 326.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/6.33, allocations: 1.688 kB / 3.112 GB, free: 326.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.304e-05/6.33, allocations: 104.6 kB / 3.112 GB, free: 326.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.33, allocations: 0 / 3.112 GB, free: 326.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003471/6.33, allocations: 59.56 kB / 3.112 GB, free: 326.3 MB / 0.948 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 () * 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.001198/6.331, allocations: 1.356 MB / 3.114 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001799/6.331, allocations: 67.11 kB / 3.114 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/6.331, allocations: 0 / 3.114 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/6.332, allocations: 35.98 kB / 3.114 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/6.332, allocations: 25.44 kB / 3.114 GB, free: 325.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/6.332, allocations: 202.9 kB / 3.114 GB, free: 325.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/6.333, allocations: 0.7063 MB / 3.115 GB, free: 324.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001599/6.333, allocations: 32.47 kB / 3.115 GB, free: 324.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/6.333, allocations: 31.86 kB / 3.115 GB, free: 324.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/6.333, allocations: 2.062 kB / 3.115 GB, free: 324.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/6.365, allocations: 7.542 MB / 3.122 GB, free: 324.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/6.365, allocations: 153.5 kB / 3.122 GB, free: 324 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/8.356, allocations: 1.312 kB / 3.122 GB, free: 324 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)