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 3.354/3.354, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001449/0.001449, allocations: 176.9 kB / 371 MB, free: 10.88 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.175/2.175, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009696/0.0009692, allocations: 92.41 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005487, allocations: 11.89 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2218, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001942/0.2238, allocations: 1.331 MB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9491/1.173, allocations: 137.7 MB / 1.114 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/1.173, allocations: 4.969 kB / 1.114 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/1.173, allocations: 8.219 kB / 1.114 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/1.174, allocations: 40.89 kB / 1.114 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/1.174, allocations: 118.8 kB / 1.114 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/1.175, allocations: 112.7 kB / 1.114 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/1.175, allocations: 26.69 kB / 1.114 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005144/1.175, allocations: 115.6 kB / 1.115 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/1.175, allocations: 41.08 kB / 1.115 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/1.175, allocations: 3 kB / 1.115 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007571/1.176, allocations: 173 kB / 1.115 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/1.176, allocations: 17.06 kB / 1.115 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/1.176, allocations: 39.95 kB / 1.115 GB, free: 17.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/1.177, allocations: 131.1 kB / 1.115 GB, free: 17.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.177, allocations: 0 / 1.115 GB, free: 17.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/1.177, allocations: 0 / 1.115 GB, free: 17.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.177, allocations: 5.094 kB / 1.115 GB, free: 17.56 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.0008681/1.178, allocations: 441.1 kB / 1.115 GB, free: 17.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.178, allocations: 13.33 kB / 1.115 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/1.178, allocations: 42.45 kB / 1.115 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/1.179, allocations: 77.62 kB / 1.116 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/1.18, allocations: 202.5 kB / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.18, allocations: 6.25 kB / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/1.18, allocations: 7.672 kB / 1.116 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/1.181, allocations: 155.1 kB / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.181, allocations: 0 / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/1.181, allocations: 3.469 kB / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/1.181, allocations: 8.234 kB / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/1.182, allocations: 154 kB / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/1.183, allocations: 414.3 kB / 1.116 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/1.184, allocations: 260.5 kB / 1.117 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/1.185, allocations: 90.41 kB / 1.117 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/1.185, allocations: 0 / 1.117 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/1.185, allocations: 33.09 kB / 1.117 GB, free: 16.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/1.185, allocations: 0 / 1.117 GB, free: 16.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001446/1.186, allocations: 246.3 kB / 1.117 GB, free: 16.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/1.186, allocations: 53.12 kB / 1.117 GB, free: 16.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/1.187, allocations: 149.8 kB / 1.117 GB, free: 16.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/1.187, allocations: 28.72 kB / 1.117 GB, free: 16.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/1.187, allocations: 110.1 kB / 1.117 GB, free: 16.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/1.187, allocations: 24.86 kB / 1.117 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/1.187, allocations: 8.906 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.187, allocations: 319.2 kB / 1.118 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/1.187, allocations: 68.77 kB / 1.118 GB, free: 15.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/1.188, allocations: 81.77 kB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/1.188, allocations: 70.66 kB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.188, allocations: 1.281 kB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001015/1.189, allocations: 185.2 kB / 1.118 GB, free: 15.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.189, allocations: 9 kB / 1.118 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/1.189, allocations: 0 / 1.118 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.189, allocations: 1.516 kB / 1.118 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.19, allocations: 36.05 kB / 1.118 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.19, allocations: 1.094 kB / 1.118 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/1.19, allocations: 27.8 kB / 1.118 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/1.19, allocations: 7.516 kB / 1.118 GB, free: 15.64 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.0001643/1.19, allocations: 120 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/1.191, allocations: 12.94 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/1.191, allocations: 15.77 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.191, allocations: 1.25 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/1.191, allocations: 4 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.191, allocations: 0.5625 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.192, allocations: 488.8 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.192, allocations: 1.703 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/1.193, allocations: 38.56 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.193, allocations: 0.7031 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.193, allocations: 1.844 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.193, allocations: 1.688 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.193, allocations: 3.953 kB / 1.119 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.194, allocations: 277.8 kB / 1.119 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/1.194, allocations: 91.53 kB / 1.119 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/1.194, allocations: 6.781 kB / 1.119 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/1.194, allocations: 23.33 kB / 1.119 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/1.194, allocations: 6.203 kB / 1.119 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/1.194, allocations: 7.078 kB / 1.119 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001459/1.195, allocations: 120.2 kB / 1.119 GB, free: 14.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.195, allocations: 1.156 kB / 1.119 GB, free: 14.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004049/1.195, allocations: 27.38 kB / 1.119 GB, free: 14.86 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.001503/1.196, allocations: 0.8225 MB / 1.12 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009716/1.197, allocations: 158.3 kB / 1.12 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.198, allocations: 0.7812 kB / 1.12 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004453/1.198, allocations: 71.62 kB / 1.12 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/1.199, allocations: 32.81 kB / 1.12 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/1.202, allocations: 0.823 MB / 1.121 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/1.202, allocations: 0.7008 MB / 1.122 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003071/1.202, allocations: 26 kB / 1.122 GB, free: 13.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.202, allocations: 30.33 kB / 1.122 GB, free: 13.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.183e-06/1.203, allocations: 0 / 1.122 GB, free: 13.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/1.231, allocations: 3 MB / 1.125 GB, free: 12.81 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/1.231, allocations: 202.6 kB / 1.125 GB, free: 12.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.941, allocations: 2.188 kB / 1.125 GB, free: 12.57 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)