Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 176.9 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009946/0.000994, allocations: 97.17 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.122e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.231/5.487, allocations: 2.188 GB / 3.073 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/5.487, allocations: 88.19 kB / 3.074 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1143/5.602, allocations: 64.91 MB / 3.137 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.953e-06/5.602, allocations: 0 / 3.137 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.412e-05/5.602, allocations: 4 kB / 3.137 GB, free: 153.4 MB / 0.8698 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.0005108/5.602, allocations: 442.1 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/5.602, allocations: 8.031 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/5.603, allocations: 71.73 kB / 3.137 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/5.603, allocations: 215 kB / 3.138 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/5.603, allocations: 4 kB / 3.138 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/5.603, allocations: 11.98 kB / 3.138 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001785/5.603, allocations: 71.92 kB / 3.138 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/5.604, allocations: 89.62 kB / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/5.604, allocations: 0 / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/5.604, allocations: 3.984 kB / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/5.604, allocations: 4 kB / 3.138 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/5.604, allocations: 381 kB / 3.138 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/5.605, allocations: 195.8 kB / 3.138 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/5.605, allocations: 52.84 kB / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/5.605, allocations: 4 kB / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/5.605, allocations: 30.56 kB / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/5.605, allocations: 0 / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002573/5.605, allocations: 93.58 kB / 3.138 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/5.605, allocations: 55.39 kB / 3.139 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/5.605, allocations: 123.8 kB / 3.139 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/5.605, allocations: 25.7 kB / 3.139 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/5.605, allocations: 104.1 kB / 3.139 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/5.605, allocations: 31.64 kB / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/5.605, allocations: 0 / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/5.605, allocations: 318.8 kB / 3.139 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/5.605, allocations: 24.16 kB / 3.139 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/5.606, allocations: 54.48 kB / 3.139 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/5.606, allocations: 23.98 kB / 3.139 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/5.606, allocations: 0 / 3.139 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001422/5.606, allocations: 101.6 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/5.606, allocations: 4 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/5.606, allocations: 4 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/5.606, allocations: 3.984 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/5.606, allocations: 35.91 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/5.606, allocations: 0 / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/5.606, allocations: 19.98 kB / 3.139 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/5.606, allocations: 11.94 kB / 3.139 GB, free: 150.6 MB / 0.8698 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 6.407e-05/5.606, allocations: 104.9 kB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001507/5.606, allocations: 101.5 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/5.606, allocations: 7.906 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/5.607, allocations: 16.56 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/5.607, allocations: 4 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/5.607, allocations: 3.953 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/5.607, allocations: 3.984 kB / 3.14 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/5.607, allocations: 371 kB / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/5.607, allocations: 0 / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/5.607, allocations: 31.97 kB / 3.14 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/5.607, allocations: 4 kB / 3.14 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/5.607, allocations: 0 / 3.14 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/5.607, allocations: 4.422 kB / 3.14 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/5.607, allocations: 0 / 3.14 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/5.607, allocations: 203.4 kB / 3.14 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/5.607, allocations: 88.95 kB / 3.14 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/5.607, allocations: 0 / 3.14 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/5.608, allocations: 27.88 kB / 3.14 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/5.608, allocations: 11.89 kB / 3.14 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/5.608, allocations: 7.984 kB / 3.14 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.977e-05/5.608, allocations: 98.2 kB / 3.14 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.608, allocations: 0 / 3.14 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003605/5.608, allocations: 55.98 kB / 3.14 GB, free: 149.4 MB / 0.8698 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.001009/5.609, allocations: 1.368 MB / 3.142 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001608/5.609, allocations: 63.92 kB / 3.142 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/5.609, allocations: 0 / 3.142 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/5.609, allocations: 39.98 kB / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/5.61, allocations: 31.86 kB / 3.142 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/5.61, allocations: 196.6 kB / 3.142 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/5.61, allocations: 0.7041 MB / 3.143 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001428/5.61, allocations: 32.58 kB / 3.143 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/5.611, allocations: 35.42 kB / 3.143 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/5.611, allocations: 0 / 3.143 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/5.634, allocations: 7.538 MB / 3.15 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/5.634, allocations: 178.2 kB / 3.15 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/7.426, allocations: 0 / 3.15 GB, free: 139.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)