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 1.613/1.613, allocations: 287.4 MB / 302.5 MB, free: 8.285 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.00126/0.00126, allocations: 186.1 kB / 371.1 MB, free: 10.75 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.85/1.85, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009465/0.0009463, allocations: 102.1 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004263, allocations: 11.58 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2751, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001771/0.277, allocations: 1.331 MB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7441/1.021, allocations: 137.7 MB / 1.114 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/1.021, allocations: 4 kB / 1.114 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/1.021, allocations: 15.77 kB / 1.114 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/1.022, allocations: 33.81 kB / 1.115 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/1.022, allocations: 113.9 kB / 1.115 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/1.022, allocations: 113.8 kB / 1.115 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/1.022, allocations: 28.27 kB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/1.023, allocations: 119.8 kB / 1.115 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/1.023, allocations: 37.44 kB / 1.115 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/1.023, allocations: 2.312 kB / 1.115 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/1.023, allocations: 174.9 kB / 1.115 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/1.023, allocations: 22.75 kB / 1.115 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/1.023, allocations: 41.7 kB / 1.115 GB, free: 17.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/1.024, allocations: 134.1 kB / 1.115 GB, free: 17.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.024, allocations: 0.6094 kB / 1.115 GB, free: 17.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.024, allocations: 0 / 1.115 GB, free: 17.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.348e-06/1.024, allocations: 0 / 1.115 GB, free: 17.6 MB / 0.698 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.000592/1.024, allocations: 438.7 kB / 1.116 GB, free: 17.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.024, allocations: 9.281 kB / 1.116 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/1.024, allocations: 41.38 kB / 1.116 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/1.025, allocations: 83.28 kB / 1.116 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/1.026, allocations: 205.9 kB / 1.116 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.026, allocations: 6.281 kB / 1.116 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/1.026, allocations: 8.781 kB / 1.116 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/1.026, allocations: 150.9 kB / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.026, allocations: 0 / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/1.026, allocations: 2.938 kB / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.026, allocations: 9.734 kB / 1.116 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/1.027, allocations: 155.6 kB / 1.116 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/1.028, allocations: 414.9 kB / 1.117 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/1.028, allocations: 262.8 kB / 1.117 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/1.029, allocations: 83.06 kB / 1.117 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.029, allocations: 0.7031 kB / 1.117 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.029, allocations: 35.84 kB / 1.117 GB, free: 16.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/1.029, allocations: 1.031 kB / 1.117 GB, free: 16.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008357/1.029, allocations: 249.5 kB / 1.117 GB, free: 16.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.029, allocations: 52.72 kB / 1.117 GB, free: 16.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.03, allocations: 144.7 kB / 1.118 GB, free: 16.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.03, allocations: 28.64 kB / 1.118 GB, free: 16.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/1.03, allocations: 100.3 kB / 1.118 GB, free: 16.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/1.03, allocations: 28.75 kB / 1.118 GB, free: 16.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/1.03, allocations: 0 / 1.118 GB, free: 16.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.03, allocations: 328.1 kB / 1.118 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/1.03, allocations: 66.61 kB / 1.118 GB, free: 15.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/1.03, allocations: 88.09 kB / 1.118 GB, free: 15.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/1.031, allocations: 145.5 kB / 1.118 GB, free: 15.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.031, allocations: 1.781 kB / 1.118 GB, free: 15.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005265/1.031, allocations: 178.4 kB / 1.118 GB, free: 15.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.031, allocations: 10.47 kB / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.031, allocations: 0 / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.031, allocations: 0 / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.032, allocations: 36.59 kB / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.032, allocations: 0 / 1.118 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/1.032, allocations: 28.47 kB / 1.119 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/1.032, allocations: 4.297 kB / 1.119 GB, free: 15.68 MB / 0.698 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.0001033/1.032, allocations: 134.6 kB / 1.119 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/1.032, allocations: 8.281 kB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/1.032, allocations: 16 kB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.032, allocations: 0.9688 kB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.032, allocations: 4.969 kB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.032, allocations: 0.5625 kB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/1.033, allocations: 479.3 kB / 1.119 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.033, allocations: 0.5156 kB / 1.119 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/1.033, allocations: 42.98 kB / 1.119 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/1.033, allocations: 4 kB / 1.119 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.033, allocations: 2.188 kB / 1.119 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.033, allocations: 4.734 kB / 1.119 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.033, allocations: 3.984 kB / 1.119 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/1.034, allocations: 280.5 kB / 1.119 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/1.034, allocations: 85.47 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/1.034, allocations: 5.609 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.034, allocations: 24.55 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.034, allocations: 6.266 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.034, allocations: 3.75 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.199e-05/1.034, allocations: 118.1 kB / 1.12 GB, free: 14.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.034, allocations: 0 / 1.12 GB, free: 14.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002655/1.035, allocations: 31.62 kB / 1.12 GB, free: 14.89 MB / 0.698 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.0009366/1.035, allocations: 0.8293 MB / 1.121 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005297/1.036, allocations: 150.7 kB / 1.121 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.036, allocations: 0 / 1.121 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/1.036, allocations: 73.91 kB / 1.121 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/1.037, allocations: 42.31 kB / 1.121 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/1.038, allocations: 0.823 MB / 1.122 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.039, allocations: 0.6985 MB / 1.122 GB, free: 13.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.039, allocations: 31.92 kB / 1.122 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/1.039, allocations: 30.28 kB / 1.122 GB, free: 13.08 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.039, allocations: 0 / 1.122 GB, free: 13.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/1.053, allocations: 2.973 MB / 1.125 GB, free: 12.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.053, allocations: 203.2 kB / 1.125 GB, free: 12.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.691, allocations: 0 / 1.125 GB, free: 12.62 MB / 0.698 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)