Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 303.6 MB, free: 8.047 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.0009129/0.0009129, allocations: 183.5 kB / 372.3 MB, free: 10.12 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.578/1.578, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007847/0.0007846, allocations: 86.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 12.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001896/0.2258, allocations: 1.328 MB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5905/0.8164, allocations: 137.7 MB / 1.116 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.8166, allocations: 4 kB / 1.116 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.8168, allocations: 10.69 kB / 1.116 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.817, allocations: 40.36 kB / 1.116 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.8174, allocations: 120.6 kB / 1.116 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.8176, allocations: 104 kB / 1.116 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.8177, allocations: 26.88 kB / 1.116 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.8186, allocations: 137.6 kB / 1.116 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.8187, allocations: 32.66 kB / 1.116 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.8187, allocations: 2.938 kB / 1.116 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.819, allocations: 182.1 kB / 1.117 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.8191, allocations: 19.03 kB / 1.117 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.8192, allocations: 60.91 kB / 1.117 GB, free: 18.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.8194, allocations: 132.2 kB / 1.117 GB, free: 18.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.8194, allocations: 2.578 kB / 1.117 GB, free: 18.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8195, allocations: 0 / 1.117 GB, free: 18.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8195, allocations: 0 / 1.117 GB, free: 18.3 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.0006026/0.8201, allocations: 442.6 kB / 1.117 GB, free: 17.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8201, allocations: 11.19 kB / 1.117 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.8202, allocations: 38.77 kB / 1.117 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.821, allocations: 81.56 kB / 1.117 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.8212, allocations: 206.3 kB / 1.118 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.8212, allocations: 6.562 kB / 1.118 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.8212, allocations: 4.969 kB / 1.118 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.8217, allocations: 146.1 kB / 1.118 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.8217, allocations: 4.766 kB / 1.118 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.8217, allocations: 3.953 kB / 1.118 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8217, allocations: 3.938 kB / 1.118 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.8223, allocations: 164.5 kB / 1.118 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.823, allocations: 412 kB / 1.118 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.8236, allocations: 265 kB / 1.118 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.8239, allocations: 83.05 kB / 1.119 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.8239, allocations: 4 kB / 1.119 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.8239, allocations: 33.97 kB / 1.119 GB, free: 17.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.8239, allocations: 0 / 1.119 GB, free: 17.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007584/0.8247, allocations: 248.6 kB / 1.119 GB, free: 17.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.8247, allocations: 60.28 kB / 1.119 GB, free: 17.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.8249, allocations: 144.6 kB / 1.119 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.8249, allocations: 25.7 kB / 1.119 GB, free: 16.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.8249, allocations: 100.8 kB / 1.119 GB, free: 16.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.825, allocations: 31.86 kB / 1.119 GB, free: 16.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.825, allocations: 0 / 1.119 GB, free: 16.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.8251, allocations: 328.5 kB / 1.119 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.8253, allocations: 66.8 kB / 1.12 GB, free: 16.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.8255, allocations: 88.34 kB / 1.12 GB, free: 16.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.826, allocations: 133.8 kB / 1.12 GB, free: 16.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.826, allocations: 2.969 kB / 1.12 GB, free: 16.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004715/0.8265, allocations: 186.6 kB / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8265, allocations: 5.766 kB / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.8265, allocations: 2.906 kB / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8265, allocations: 0 / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.8267, allocations: 30.34 kB / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8268, allocations: 6.547 kB / 1.12 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.8269, allocations: 29.38 kB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8269, allocations: 6.219 kB / 1.12 GB, free: 16.37 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 8.85e-05/0.827, allocations: 130.6 kB / 1.12 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.8271, allocations: 7.5 kB / 1.12 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.8271, allocations: 15.53 kB / 1.12 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.8271, allocations: 7.531 kB / 1.12 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8271, allocations: 0 / 1.12 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8271, allocations: 0.7031 kB / 1.12 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.8279, allocations: 479.5 kB / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8279, allocations: 0 / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.8281, allocations: 39.27 kB / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8281, allocations: 0 / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.8281, allocations: 5.875 kB / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8281, allocations: 3.938 kB / 1.121 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8281, allocations: 3.938 kB / 1.121 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.8286, allocations: 282.6 kB / 1.121 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.8287, allocations: 87.81 kB / 1.121 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.8287, allocations: 8.984 kB / 1.121 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.8289, allocations: 26.81 kB / 1.121 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.8289, allocations: 8.828 kB / 1.121 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.8289, allocations: 0 / 1.121 GB, free: 15.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.829, allocations: 115.5 kB / 1.121 GB, free: 15.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.829, allocations: 0 / 1.121 GB, free: 15.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002489/0.8293, allocations: 42.72 kB / 1.121 GB, free: 15.57 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.0007423/0.83, allocations: 0.8107 MB / 1.122 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.8305, allocations: 154.6 kB / 1.122 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8305, allocations: 0 / 1.122 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.8307, allocations: 79.73 kB / 1.122 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.8311, allocations: 37.52 kB / 1.122 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.8325, allocations: 0.8179 MB / 1.123 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.8328, allocations: 0.7004 MB / 1.124 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.8329, allocations: 30.31 kB / 1.124 GB, free: 13.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.833, allocations: 32.06 kB / 1.124 GB, free: 13.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.833, allocations: 0 / 1.124 GB, free: 13.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7018/1.535, allocations: 3.005 MB / 1.127 GB, free: 13.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.535, allocations: 208.9 kB / 1.127 GB, free: 13.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/3.51, allocations: 0 / 1.127 GB, free: 13.3 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)