Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.00136, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.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.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009166, allocations: 83.23 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.971e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.057/6.315, allocations: 2.188 GB / 3.08 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/6.315, allocations: 82.83 kB / 3.08 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1178/6.433, allocations: 65.88 MB / 3.144 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.382e-06/6.433, allocations: 0 / 3.144 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.097e-05/6.433, allocations: 0 / 3.144 GB, free: 78.84 MB / 0.8698 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.00052/6.434, allocations: 442.2 kB / 3.145 GB, free: 78.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/6.434, allocations: 8.031 kB / 3.145 GB, free: 78.36 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/6.434, allocations: 42.55 kB / 3.145 GB, free: 78.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007466/6.434, allocations: 75.73 kB / 3.145 GB, free: 78.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/6.435, allocations: 215 kB / 3.145 GB, free: 77.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/6.435, allocations: 8 kB / 3.145 GB, free: 77.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/6.435, allocations: 12 kB / 3.145 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/6.435, allocations: 102.8 kB / 3.145 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/6.435, allocations: 0 / 3.145 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/6.435, allocations: 0 / 3.145 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/6.435, allocations: 0 / 3.145 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/6.435, allocations: 79.84 kB / 3.145 GB, free: 77.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/6.436, allocations: 408.6 kB / 3.145 GB, free: 77.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/6.436, allocations: 203.8 kB / 3.146 GB, free: 77.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/6.436, allocations: 48.84 kB / 3.146 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/6.436, allocations: 0 / 3.146 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/6.436, allocations: 30.56 kB / 3.146 GB, free: 77.01 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/6.436, allocations: 0 / 3.146 GB, free: 77.01 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002282/6.436, allocations: 105.6 kB / 3.146 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/6.436, allocations: 59.45 kB / 3.146 GB, free: 76.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/6.436, allocations: 141.9 kB / 3.146 GB, free: 76.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/6.437, allocations: 29.7 kB / 3.146 GB, free: 76.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/6.437, allocations: 108.2 kB / 3.146 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/6.437, allocations: 27.64 kB / 3.146 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/6.437, allocations: 0 / 3.146 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/6.437, allocations: 322.8 kB / 3.146 GB, free: 76.19 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/6.437, allocations: 24 kB / 3.146 GB, free: 76.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/6.437, allocations: 46.56 kB / 3.147 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.58e-05/6.437, allocations: 32.02 kB / 3.147 GB, free: 76.08 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/6.437, allocations: 0 / 3.147 GB, free: 76.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001539/6.437, allocations: 105.5 kB / 3.147 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/6.437, allocations: 9.5 kB / 3.147 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/6.437, allocations: 7.969 kB / 3.147 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/6.437, allocations: 3.938 kB / 3.147 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/6.437, allocations: 35.97 kB / 3.147 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/6.437, allocations: 0 / 3.147 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/6.437, allocations: 31.84 kB / 3.147 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/6.437, allocations: 3.984 kB / 3.147 GB, free: 75.88 MB / 0.8698 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 5.026e-05/6.438, allocations: 109 kB / 3.147 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/6.438, allocations: 7.906 kB / 3.147 GB, free: 75.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/6.438, allocations: 16.62 kB / 3.147 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/6.438, allocations: 0 / 3.147 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/6.438, allocations: 0 / 3.147 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/6.438, allocations: 0 / 3.147 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/6.438, allocations: 414.3 kB / 3.147 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/6.438, allocations: 0 / 3.147 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/6.438, allocations: 35.97 kB / 3.147 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/6.438, allocations: 0 / 3.147 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/6.438, allocations: 3.984 kB / 3.147 GB, free: 75.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/6.438, allocations: 4 kB / 3.147 GB, free: 75.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/6.438, allocations: 3.953 kB / 3.147 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/6.438, allocations: 203.4 kB / 3.148 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/6.438, allocations: 84.95 kB / 3.148 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/6.438, allocations: 11.98 kB / 3.148 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/6.439, allocations: 23.98 kB / 3.148 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/6.439, allocations: 11.94 kB / 3.148 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/6.439, allocations: 0 / 3.148 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.603e-05/6.439, allocations: 111.3 kB / 3.148 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.439, allocations: 4 kB / 3.148 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003752/6.439, allocations: 67.98 kB / 3.148 GB, free: 74.69 MB / 0.8698 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.0009049/6.44, allocations: 1.28 MB / 3.149 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000163/6.44, allocations: 63.98 kB / 3.149 GB, free: 73.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/6.44, allocations: 0 / 3.149 GB, free: 73.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/6.44, allocations: 43.92 kB / 3.149 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/6.441, allocations: 29.36 kB / 3.149 GB, free: 73.26 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/6.441, allocations: 207.2 kB / 3.149 GB, free: 73.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/6.441, allocations: 0.7043 MB / 3.15 GB, free: 72.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001425/6.441, allocations: 28.39 kB / 3.15 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/6.441, allocations: 31.42 kB / 3.15 GB, free: 72.23 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/6.441, allocations: 0 / 3.15 GB, free: 72.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/6.469, allocations: 15.32 MB / 3.165 GB, free: 57.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/6.469, allocations: 186.8 kB / 3.165 GB, free: 56.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/8.531, allocations: 0 / 3.165 GB, free: 56.79 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)