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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8133/0.8133, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 177.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 95.91 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001848, allocations: 280.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.953e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5213, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.942, allocations: 1.687 GB / 2.451 GB, free: 92.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/4.942, allocations: 86.86 kB / 2.451 GB, free: 91.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1133/5.055, allocations: 64.68 MB / 2.515 GB, free: 26.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/5.056, allocations: 0 / 2.515 GB, free: 26.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.371e-05/5.056, allocations: 0 / 2.515 GB, free: 26.1 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.0005515/5.056, allocations: 446.1 kB / 2.515 GB, free: 25.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/5.056, allocations: 8.031 kB / 2.515 GB, free: 25.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/5.056, allocations: 38.56 kB / 2.515 GB, free: 25.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/5.057, allocations: 75.67 kB / 2.515 GB, free: 25.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/5.057, allocations: 208.6 kB / 2.515 GB, free: 25.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/5.057, allocations: 11.98 kB / 2.515 GB, free: 25.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/5.057, allocations: 8 kB / 2.515 GB, free: 25.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/5.057, allocations: 106.2 kB / 2.515 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/5.057, allocations: 4 kB / 2.515 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/5.057, allocations: 3.953 kB / 2.515 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/5.058, allocations: 0 / 2.515 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/5.058, allocations: 71.97 kB / 2.516 GB, free: 25.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/5.058, allocations: 416.3 kB / 2.516 GB, free: 24.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/5.059, allocations: 207.8 kB / 2.516 GB, free: 24.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/5.059, allocations: 48.84 kB / 2.516 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/5.059, allocations: 0 / 2.516 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/5.059, allocations: 38.44 kB / 2.516 GB, free: 24.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/5.059, allocations: 0 / 2.516 GB, free: 24.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002349/5.059, allocations: 109.7 kB / 2.516 GB, free: 24.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/5.059, allocations: 51.41 kB / 2.516 GB, free: 24.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/5.059, allocations: 133.1 kB / 2.516 GB, free: 23.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/5.059, allocations: 29.7 kB / 2.517 GB, free: 23.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/5.059, allocations: 104.3 kB / 2.517 GB, free: 23.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/5.059, allocations: 23.7 kB / 2.517 GB, free: 23.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/5.059, allocations: 4 kB / 2.517 GB, free: 23.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/5.059, allocations: 326.8 kB / 2.517 GB, free: 23.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/5.059, allocations: 20 kB / 2.517 GB, free: 23.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/5.059, allocations: 50.56 kB / 2.517 GB, free: 23.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/5.06, allocations: 35.95 kB / 2.517 GB, free: 23.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/5.06, allocations: 0 / 2.517 GB, free: 23.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000152/5.06, allocations: 105.5 kB / 2.517 GB, free: 23.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/5.06, allocations: 9.25 kB / 2.517 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/5.06, allocations: 0 / 2.517 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/5.06, allocations: 0 / 2.517 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/5.06, allocations: 31.97 kB / 2.517 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/5.06, allocations: 4 kB / 2.517 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/5.06, allocations: 31.88 kB / 2.517 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/5.06, allocations: 0 / 2.517 GB, free: 23.14 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 () * 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.116e-05/5.06, allocations: 112.9 kB / 2.517 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/5.06, allocations: 7.906 kB / 2.517 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/5.06, allocations: 20.62 kB / 2.517 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/5.06, allocations: 0 / 2.517 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/5.06, allocations: 0 / 2.517 GB, free: 23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/5.06, allocations: 7.922 kB / 2.517 GB, free: 22.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/5.061, allocations: 414.3 kB / 2.518 GB, free: 22.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/5.061, allocations: 0 / 2.518 GB, free: 22.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/5.061, allocations: 39.91 kB / 2.518 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/5.061, allocations: 3.984 kB / 2.518 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/5.061, allocations: 0 / 2.518 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/5.061, allocations: 0 / 2.518 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/5.061, allocations: 4 kB / 2.518 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/5.061, allocations: 203.4 kB / 2.518 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/5.061, allocations: 85.02 kB / 2.518 GB, free: 22.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/5.061, allocations: 4 kB / 2.518 GB, free: 22.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/5.061, allocations: 23.98 kB / 2.518 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/5.061, allocations: 11.92 kB / 2.518 GB, free: 22.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/5.061, allocations: 0 / 2.518 GB, free: 22.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.487e-05/5.062, allocations: 109.9 kB / 2.518 GB, free: 22.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/5.062, allocations: 0 / 2.518 GB, free: 22.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004013/5.062, allocations: 75.98 kB / 2.518 GB, free: 21.95 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 () * 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.000977/5.063, allocations: 1.275 MB / 2.52 GB, free: 20.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000171/5.063, allocations: 71.92 kB / 2.52 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/5.063, allocations: 0 / 2.52 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/5.063, allocations: 43.98 kB / 2.52 GB, free: 20.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/5.063, allocations: 24.53 kB / 2.52 GB, free: 20.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/5.064, allocations: 195.6 kB / 2.52 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/5.064, allocations: 0.716 MB / 2.521 GB, free: 19.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001417/5.064, allocations: 24.36 kB / 2.521 GB, free: 19.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/5.064, allocations: 35.42 kB / 2.521 GB, free: 19.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/5.064, allocations: 7.938 kB / 2.521 GB, free: 19.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/5.092, allocations: 15.35 MB / 2.536 GB, free: 4.305 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/5.092, allocations: 181.9 kB / 2.536 GB, free: 4.078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/7.338, allocations: 0 / 2.536 GB, free: 4.078 MB / 0.698 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/linux/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)