Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.017/2.017, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001188/0.001188, allocations: 173.2 kB / 377.1 MB, free: 1.516 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.791/1.791, allocations: 205.4 MB / 0.6366 GB, free: 8.555 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008454/0.0008451, allocations: 94.09 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004703, allocations: 8 kB / 0.8748 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3822, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.775/6.157, allocations: 2.071 GB / 3.059 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/6.158, allocations: 92.55 kB / 3.059 GB, free: 111.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1405/6.298, allocations: 67.83 MB / 3.126 GB, free: 44.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/6.298, allocations: 0 / 3.126 GB, free: 44.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.048e-05/6.298, allocations: 8 kB / 3.126 GB, free: 44.14 MB / 0.948 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.0007728/6.299, allocations: 451 kB / 3.126 GB, free: 43.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/6.299, allocations: 12.02 kB / 3.126 GB, free: 43.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/6.299, allocations: 46.5 kB / 3.126 GB, free: 43.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/6.3, allocations: 79.73 kB / 3.126 GB, free: 43.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/6.3, allocations: 210.8 kB / 3.126 GB, free: 43.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/6.3, allocations: 8 kB / 3.126 GB, free: 43.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/6.3, allocations: 7.938 kB / 3.126 GB, free: 43.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/6.301, allocations: 149.5 kB / 3.126 GB, free: 43.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/6.301, allocations: 0 / 3.126 GB, free: 43.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/6.301, allocations: 3.938 kB / 3.126 GB, free: 43.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/6.301, allocations: 4 kB / 3.126 GB, free: 43.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/6.301, allocations: 155.9 kB / 3.127 GB, free: 42.94 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/6.302, allocations: 420.1 kB / 3.127 GB, free: 42.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/6.303, allocations: 259.7 kB / 3.127 GB, free: 42.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/6.303, allocations: 0 / 3.127 GB, free: 42.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/6.303, allocations: 34.5 kB / 3.127 GB, free: 42.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/6.303, allocations: 0 / 3.127 GB, free: 42.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0008032/6.304, allocations: 245.4 kB / 3.128 GB, free: 41.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/6.304, allocations: 55.41 kB / 3.128 GB, free: 41.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/6.304, allocations: 132.7 kB / 3.128 GB, free: 41.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/6.304, allocations: 29.7 kB / 3.128 GB, free: 41.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/6.304, allocations: 104.3 kB / 3.128 GB, free: 41.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/6.304, allocations: 35.77 kB / 3.128 GB, free: 41.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/6.304, allocations: 0 / 3.128 GB, free: 41.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/6.304, allocations: 326.8 kB / 3.128 GB, free: 41.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/6.305, allocations: 67.95 kB / 3.128 GB, free: 41.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/6.305, allocations: 90.45 kB / 3.128 GB, free: 41.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/6.305, allocations: 64.42 kB / 3.128 GB, free: 40.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/6.305, allocations: 0 / 3.128 GB, free: 40.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004669/6.305, allocations: 185.5 kB / 3.129 GB, free: 40.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/6.306, allocations: 4 kB / 3.129 GB, free: 40.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/6.306, allocations: 0 / 3.129 GB, free: 40.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/6.306, allocations: 0 / 3.129 GB, free: 40.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/6.306, allocations: 35.97 kB / 3.129 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/6.306, allocations: 0 / 3.129 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/6.306, allocations: 35.81 kB / 3.129 GB, free: 40.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/6.306, allocations: 0 / 3.129 GB, free: 40.71 MB / 0.948 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 9.666e-05/6.306, allocations: 121.8 kB / 3.129 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/6.306, allocations: 11.89 kB / 3.129 GB, free: 40.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/6.306, allocations: 24.66 kB / 3.129 GB, free: 40.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/6.306, allocations: 0 / 3.129 GB, free: 40.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/6.306, allocations: 0 / 3.129 GB, free: 40.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/6.306, allocations: 0 / 3.129 GB, free: 40.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/6.307, allocations: 490.2 kB / 3.129 GB, free: 40.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/6.307, allocations: 0 / 3.129 GB, free: 40.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/6.307, allocations: 39.91 kB / 3.129 GB, free: 39.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/6.307, allocations: 0 / 3.129 GB, free: 39.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/6.307, allocations: 3.984 kB / 3.129 GB, free: 39.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/6.307, allocations: 0 / 3.129 GB, free: 39.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/6.307, allocations: 8 kB / 3.129 GB, free: 39.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/6.308, allocations: 279.3 kB / 3.13 GB, free: 39.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/6.308, allocations: 89.02 kB / 3.13 GB, free: 39.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/6.308, allocations: 0 / 3.13 GB, free: 39.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/6.308, allocations: 19.98 kB / 3.13 GB, free: 39.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/6.308, allocations: 15.97 kB / 3.13 GB, free: 39.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/6.308, allocations: 3.984 kB / 3.13 GB, free: 39.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.286e-05/6.308, allocations: 116.9 kB / 3.13 GB, free: 39.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.308, allocations: 4 kB / 3.13 GB, free: 39.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005131/6.309, allocations: 83.88 kB / 3.13 GB, free: 39.33 MB / 0.948 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.001798/6.311, allocations: 1.329 MB / 3.131 GB, free: 37.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005609/6.311, allocations: 147.8 kB / 3.131 GB, free: 37.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/6.311, allocations: 4 kB / 3.131 GB, free: 37.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/6.311, allocations: 75.94 kB / 3.131 GB, free: 37.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/6.312, allocations: 29 kB / 3.131 GB, free: 37.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/6.314, allocations: 0.8275 MB / 3.132 GB, free: 36.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/6.314, allocations: 0.7004 MB / 3.133 GB, free: 36.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001991/6.315, allocations: 32.34 kB / 3.133 GB, free: 36.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/6.315, allocations: 31.42 kB / 3.133 GB, free: 36.06 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/6.315, allocations: 0 / 3.133 GB, free: 36.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/6.349, allocations: 13.36 MB / 3.146 GB, free: 22.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/6.349, allocations: 183.2 kB / 3.146 GB, free: 22.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/8.783, allocations: 7.938 kB / 3.146 GB, free: 22.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)