Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004477/0.004477, allocations: 103 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 190.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 304 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 91.86 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4574, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002806/0.4603, allocations: 1.632 MB / 0.7675 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1484/0.6087, allocations: 151.6 MB / 0.9155 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.6089, allocations: 4 kB / 0.9155 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.6091, allocations: 19.8 kB / 0.9155 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.6094, allocations: 39.7 kB / 0.9156 GB, free: 10 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.6099, allocations: 143.4 kB / 0.9157 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.6102, allocations: 123.6 kB / 0.9158 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.6103, allocations: 29.39 kB / 0.9158 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.6116, allocations: 178.6 kB / 0.916 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.6117, allocations: 47.78 kB / 0.9161 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.6117, allocations: 8 kB / 0.9161 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.6121, allocations: 175.7 kB / 0.9162 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.6122, allocations: 23.92 kB / 0.9163 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.6122, allocations: 47.73 kB / 0.9163 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.6126, allocations: 195.4 kB / 0.9165 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6126, allocations: 0 / 0.9165 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6126, allocations: 0 / 0.9165 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6126, allocations: 0 / 0.9165 GB, free: 9.078 MB / 0.6856 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.0005874/0.6132, allocations: 446.9 kB / 0.9169 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6133, allocations: 12.03 kB / 0.9169 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.6133, allocations: 38.75 kB / 0.917 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.6142, allocations: 79.75 kB / 0.917 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.6145, allocations: 209.2 kB / 0.9172 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6145, allocations: 8 kB / 0.9172 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.6145, allocations: 4 kB / 0.9172 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.6149, allocations: 145.5 kB / 0.9174 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6149, allocations: 0 / 0.9174 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.615, allocations: 3.938 kB / 0.9174 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.615, allocations: 4 kB / 0.9174 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.6155, allocations: 135.9 kB / 0.9175 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.6162, allocations: 420.3 kB / 0.9179 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.6169, allocations: 247.7 kB / 0.9182 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.6171, allocations: 76.78 kB / 0.9182 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.6171, allocations: 4 kB / 0.9182 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.6171, allocations: 38.5 kB / 0.9183 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.6172, allocations: 0 / 0.9183 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.000706/0.6179, allocations: 209.4 kB / 0.9185 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6179, allocations: 59.33 kB / 0.9185 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.618, allocations: 150.1 kB / 0.9187 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.6181, allocations: 29.7 kB / 0.9187 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6181, allocations: 100.1 kB / 0.9188 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.6181, allocations: 27.69 kB / 0.9188 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.6182, allocations: 25.7 kB / 0.9188 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.6183, allocations: 330.8 kB / 0.9192 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.6186, allocations: 47.95 kB / 0.9192 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.6188, allocations: 82.77 kB / 0.9193 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.6192, allocations: 124.9 kB / 0.9194 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6192, allocations: 0 / 0.9194 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004432/0.6197, allocations: 157.5 kB / 0.9196 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6197, allocations: 8 kB / 0.9196 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6197, allocations: 0 / 0.9196 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6197, allocations: 0 / 0.9196 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.6199, allocations: 27.97 kB / 0.9196 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.62, allocations: 3.984 kB / 0.9196 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.6201, allocations: 31.77 kB / 0.9196 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6201, allocations: 7.938 kB / 0.9196 GB, free: 5.594 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.6202, allocations: 121.1 kB / 0.9197 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.6203, allocations: 7.906 kB / 0.9198 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.6203, allocations: 16.72 kB / 0.9198 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6203, allocations: 0 / 0.9198 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6203, allocations: 4 kB / 0.9198 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6204, allocations: 0 / 0.9198 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.6211, allocations: 458.3 kB / 0.9202 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6211, allocations: 0 / 0.9202 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6213, allocations: 35.91 kB / 0.9202 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6213, allocations: 0 / 0.9202 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.6213, allocations: 7.984 kB / 0.9203 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6213, allocations: 7.938 kB / 0.9203 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6213, allocations: 0 / 0.9203 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.6218, allocations: 259.2 kB / 0.9205 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.6218, allocations: 85.02 kB / 0.9206 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.6219, allocations: 4 kB / 0.9206 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.622, allocations: 15.92 kB / 0.9206 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.6221, allocations: 7.984 kB / 0.9206 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.6221, allocations: 8 kB / 0.9206 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.6222, allocations: 115.2 kB / 0.9207 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6222, allocations: 3.938 kB / 0.9207 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002523/0.6224, allocations: 31.94 kB / 0.9208 GB, free: 4.332 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000778/0.6232, allocations: 0.7943 MB / 0.9215 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.6237, allocations: 135.8 kB / 0.9217 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6237, allocations: 0 / 0.9217 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.6239, allocations: 59.95 kB / 0.9217 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.6242, allocations: 45.08 kB / 0.9218 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.6266, allocations: 1.72 MB / 0.9235 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.6269, allocations: 0.6969 MB / 0.9241 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.627, allocations: 40.41 kB / 0.9242 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.6271, allocations: 31.42 kB / 0.9242 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of SimCode: time 1.432e-06/0.6271, allocations: 0 / 0.9242 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.6461, allocations: 3.42 MB / 0.9275 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.648, allocations: 13.69 kB / 0.9276 GB, free: 13.42 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)