Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.77/2.77, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.00156/0.001559, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001099/0.001099, allocations: 90.94 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.498e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8838/0.8839, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.206/7.089, allocations: 2.069 GB / 3.032 GB, free: 49.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/7.09, allocations: 83.95 kB / 3.032 GB, free: 49.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9901/8.08, allocations: 66.74 MB / 3.098 GB, free: 263.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.262e-06/8.08, allocations: 0 / 3.098 GB, free: 263.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.331e-05/8.08, allocations: 3.906 kB / 3.098 GB, free: 263.2 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.000708/8.081, allocations: 443.9 kB / 3.098 GB, free: 262.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/8.081, allocations: 7.406 kB / 3.098 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/8.082, allocations: 79.3 kB / 3.098 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/8.082, allocations: 211.9 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/8.082, allocations: 2.594 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/8.082, allocations: 3.969 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000246/8.083, allocations: 72.97 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/8.083, allocations: 93.33 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/8.083, allocations: 0 / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/8.083, allocations: 0 / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/8.083, allocations: 10.12 kB / 3.098 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/8.084, allocations: 383.2 kB / 3.099 GB, free: 262.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/8.084, allocations: 192.3 kB / 3.099 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/8.085, allocations: 45.36 kB / 3.099 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/8.085, allocations: 3.906 kB / 3.099 GB, free: 262.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/8.085, allocations: 33.88 kB / 3.099 GB, free: 262.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/8.085, allocations: 2.469 kB / 3.099 GB, free: 262.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003433/8.085, allocations: 99.16 kB / 3.099 GB, free: 262.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/8.085, allocations: 54.12 kB / 3.099 GB, free: 262 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/8.085, allocations: 114.7 kB / 3.099 GB, free: 262 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/8.085, allocations: 29.61 kB / 3.099 GB, free: 261.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/8.085, allocations: 106.5 kB / 3.1 GB, free: 261.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/8.085, allocations: 23.2 kB / 3.1 GB, free: 261.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/8.085, allocations: 0 / 3.1 GB, free: 261.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/8.085, allocations: 321.9 kB / 3.1 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/8.085, allocations: 29.92 kB / 3.1 GB, free: 261.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/8.086, allocations: 46.81 kB / 3.1 GB, free: 261.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/8.086, allocations: 33.84 kB / 3.1 GB, free: 261.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/8.086, allocations: 0 / 3.1 GB, free: 261.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002665/8.086, allocations: 102.5 kB / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/8.086, allocations: 7.219 kB / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/8.086, allocations: 0 / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/8.086, allocations: 0 / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/8.086, allocations: 34.73 kB / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/8.086, allocations: 2.031 kB / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/8.087, allocations: 23.27 kB / 3.1 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/8.087, allocations: 6.406 kB / 3.1 GB, free: 261.4 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 8.089e-05/8.087, allocations: 112.3 kB / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002602/8.087, allocations: 99.08 kB / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/8.087, allocations: 7.812 kB / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/8.087, allocations: 21.64 kB / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/8.087, allocations: 0 / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/8.087, allocations: 0 / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/8.087, allocations: 0 / 3.1 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/8.088, allocations: 373.2 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/8.088, allocations: 1.312 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/8.088, allocations: 40.39 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/8.088, allocations: 0 / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/8.088, allocations: 2.25 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/8.088, allocations: 3.906 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/8.088, allocations: 1.031 kB / 3.101 GB, free: 261 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/8.089, allocations: 197.9 kB / 3.101 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/8.089, allocations: 90.34 kB / 3.101 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/8.089, allocations: 3.609 kB / 3.101 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/8.089, allocations: 22.86 kB / 3.101 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/8.089, allocations: 8.375 kB / 3.101 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/8.089, allocations: 7.875 kB / 3.101 GB, free: 260.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.362e-05/8.089, allocations: 103.7 kB / 3.101 GB, free: 260.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.089, allocations: 0 / 3.101 GB, free: 260.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000468/8.09, allocations: 61.83 kB / 3.101 GB, free: 260.7 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.001544/8.091, allocations: 1.363 MB / 3.103 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003142/8.092, allocations: 65.28 kB / 3.103 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/8.092, allocations: 0 / 3.103 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/8.092, allocations: 41.27 kB / 3.103 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/8.092, allocations: 30.34 kB / 3.103 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/8.093, allocations: 192.2 kB / 3.103 GB, free: 259.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/8.093, allocations: 0.7082 MB / 3.104 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002622/8.094, allocations: 23.67 kB / 3.104 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/8.094, allocations: 32.55 kB / 3.104 GB, free: 259.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/8.094, allocations: 0 / 3.104 GB, free: 259.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/8.14, allocations: 7.553 MB / 3.111 GB, free: 258.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/8.14, allocations: 150.9 kB / 3.111 GB, free: 258.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/10.95, allocations: 6.781 kB / 3.111 GB, free: 258.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)