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.8693/0.8693, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 185 kB / 191.5 MB, free: 5.754 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.728/1.728, allocations: 223.1 MB / 447.7 MB, free: 4.797 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.0009418/0.000942, allocations: 95.94 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 268.4 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.000463, allocations: 16.88 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1962, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.872/4.068, allocations: 1.687 GB / 2.461 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/4.068, allocations: 84.56 kB / 2.461 GB, free: 115 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/4.189, allocations: 64.78 MB / 2.524 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/4.189, allocations: 0 / 2.524 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.73e-05/4.189, allocations: 4 kB / 2.524 GB, free: 49.02 MB / 0.7136 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.0006652/4.189, allocations: 451.6 kB / 2.525 GB, free: 48.53 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/4.189, allocations: 8.031 kB / 2.525 GB, free: 48.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/4.189, allocations: 46.48 kB / 2.525 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/4.19, allocations: 75.78 kB / 2.525 GB, free: 48.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/4.19, allocations: 218.8 kB / 2.525 GB, free: 48.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/4.191, allocations: 4 kB / 2.525 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/4.191, allocations: 12 kB / 2.525 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/4.191, allocations: 141 kB / 2.525 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/4.191, allocations: 4 kB / 2.525 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/4.191, allocations: 7.953 kB / 2.525 GB, free: 47.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/4.191, allocations: 0 / 2.525 GB, free: 47.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/4.192, allocations: 155.9 kB / 2.525 GB, free: 47.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/4.192, allocations: 412.4 kB / 2.526 GB, free: 47.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/4.193, allocations: 263.9 kB / 2.526 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/4.193, allocations: 8 kB / 2.526 GB, free: 47.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/4.193, allocations: 30.56 kB / 2.526 GB, free: 47.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/4.193, allocations: 0 / 2.526 GB, free: 47.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0007751/4.194, allocations: 241.4 kB / 2.526 GB, free: 46.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/4.194, allocations: 63.33 kB / 2.526 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/4.194, allocations: 132.9 kB / 2.526 GB, free: 46.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/4.194, allocations: 25.7 kB / 2.526 GB, free: 46.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/4.194, allocations: 104.2 kB / 2.526 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/4.194, allocations: 23.78 kB / 2.526 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/4.194, allocations: 4 kB / 2.526 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/4.194, allocations: 334.7 kB / 2.527 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/4.194, allocations: 59.95 kB / 2.527 GB, free: 46.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/4.195, allocations: 90.52 kB / 2.527 GB, free: 45.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/4.195, allocations: 72.12 kB / 2.527 GB, free: 45.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/4.195, allocations: 0 / 2.527 GB, free: 45.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004673/4.195, allocations: 181.4 kB / 2.527 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/4.195, allocations: 8 kB / 2.527 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/4.195, allocations: 3.938 kB / 2.527 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/4.195, allocations: 0 / 2.527 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/4.196, allocations: 39.95 kB / 2.527 GB, free: 45.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/4.196, allocations: 0 / 2.527 GB, free: 45.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/4.196, allocations: 27.92 kB / 2.527 GB, free: 45.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/4.196, allocations: 0 / 2.527 GB, free: 45.59 MB / 0.7136 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.0001376/4.196, allocations: 132.5 kB / 2.527 GB, free: 45.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/4.196, allocations: 7.906 kB / 2.527 GB, free: 45.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/4.196, allocations: 20.66 kB / 2.527 GB, free: 45.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/4.196, allocations: 0 / 2.527 GB, free: 45.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/4.196, allocations: 0 / 2.527 GB, free: 45.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/4.196, allocations: 3.984 kB / 2.527 GB, free: 45.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/4.197, allocations: 490.2 kB / 2.528 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/4.197, allocations: 0 / 2.528 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/4.197, allocations: 35.95 kB / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/4.197, allocations: 0 / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/4.197, allocations: 4 kB / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/4.197, allocations: 0 / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/4.197, allocations: 0 / 2.528 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/4.198, allocations: 283.9 kB / 2.528 GB, free: 44.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/4.198, allocations: 88.92 kB / 2.528 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/4.198, allocations: 4 kB / 2.528 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/4.198, allocations: 27.97 kB / 2.528 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/4.198, allocations: 11.98 kB / 2.528 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/4.198, allocations: 0 / 2.528 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.072e-05/4.198, allocations: 118.3 kB / 2.528 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/4.198, allocations: 0 / 2.528 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004698/4.199, allocations: 75.92 kB / 2.529 GB, free: 44.22 MB / 0.7136 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.001636/4.2, allocations: 1.338 MB / 2.53 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004842/4.201, allocations: 151.8 kB / 2.53 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/4.201, allocations: 0 / 2.53 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/4.201, allocations: 79.88 kB / 2.53 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/4.201, allocations: 29.47 kB / 2.53 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/4.203, allocations: 0.8285 MB / 2.531 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/4.203, allocations: 0.7082 MB / 2.532 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001754/4.203, allocations: 24.41 kB / 2.532 GB, free: 40.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/4.204, allocations: 31.42 kB / 2.532 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/4.204, allocations: 0 / 2.532 GB, free: 40.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/4.235, allocations: 13.39 MB / 2.545 GB, free: 27.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/4.236, allocations: 202.4 kB / 2.545 GB, free: 27.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/6.437, allocations: 6.125 kB / 2.545 GB, free: 27.49 MB / 0.7136 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)