Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001559/0.001559, allocations: 186.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 97.53 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004933, allocations: 11.72 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9837/1.194, allocations: 165 MB / 1.139 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.194, allocations: 73.5 kB / 1.139 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008589/1.203, allocations: 2.161 MB / 1.142 GB, free: 30 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/1.203, allocations: 0 / 1.142 GB, free: 30 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.203, allocations: 3.625 kB / 1.142 GB, free: 30 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006631/1.203, allocations: 378.5 kB / 1.142 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.203, allocations: 11.67 kB / 1.142 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/1.204, allocations: 42.2 kB / 1.142 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/1.204, allocations: 7.859 kB / 1.142 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.204, allocations: 166.7 kB / 1.142 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.204, allocations: 0 / 1.142 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.204, allocations: 3.844 kB / 1.142 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/1.204, allocations: 95.64 kB / 1.142 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/1.204, allocations: 0 / 1.142 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.204, allocations: 0 / 1.142 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.204, allocations: 3.953 kB / 1.142 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/1.205, allocations: 89.17 kB / 1.142 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/1.205, allocations: 283.1 kB / 1.143 GB, free: 29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/1.206, allocations: 69.09 kB / 1.143 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.206, allocations: 93.03 kB / 1.143 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/1.206, allocations: 38.36 kB / 1.143 GB, free: 28.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/1.206, allocations: 0 / 1.143 GB, free: 28.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000917/1.207, allocations: 161.9 kB / 1.143 GB, free: 28.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.207, allocations: 55.41 kB / 1.143 GB, free: 28.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.207, allocations: 110.7 kB / 1.143 GB, free: 28.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.207, allocations: 33.42 kB / 1.143 GB, free: 28.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/1.207, allocations: 84.08 kB / 1.143 GB, free: 28.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.207, allocations: 11.72 kB / 1.143 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.207, allocations: 0 / 1.143 GB, free: 28.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.207, allocations: 314.8 kB / 1.144 GB, free: 28.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/1.207, allocations: 42.44 kB / 1.144 GB, free: 28.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/1.208, allocations: 46.73 kB / 1.144 GB, free: 28.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.208, allocations: 42.75 kB / 1.144 GB, free: 28.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.208, allocations: 3.938 kB / 1.144 GB, free: 28.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005916/1.209, allocations: 126.3 kB / 1.144 GB, free: 28.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.209, allocations: 7.828 kB / 1.144 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.209, allocations: 3.953 kB / 1.144 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.209, allocations: 0 / 1.144 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.209, allocations: 23.33 kB / 1.144 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.209, allocations: 3.812 kB / 1.144 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/1.209, allocations: 15.45 kB / 1.144 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/1.209, allocations: 3.938 kB / 1.144 GB, free: 28.02 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001061/1.209, allocations: 117.6 kB / 1.144 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/1.209, allocations: 6.172 kB / 1.144 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/1.21, allocations: 131.8 kB / 1.144 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.21, allocations: 7.953 kB / 1.144 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.21, allocations: 0.875 kB / 1.144 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.21, allocations: 0 / 1.144 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/1.21, allocations: 177 kB / 1.144 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.21, allocations: 0 / 1.144 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.21, allocations: 23.98 kB / 1.144 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/1.21, allocations: 0 / 1.144 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.21, allocations: 4 kB / 1.144 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.21, allocations: 0 / 1.144 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.211, allocations: 7.891 kB / 1.144 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/1.211, allocations: 218.9 kB / 1.145 GB, free: 27.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/1.211, allocations: 81.02 kB / 1.145 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/1.211, allocations: 0 / 1.145 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.211, allocations: 19.98 kB / 1.145 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/1.212, allocations: 11.94 kB / 1.145 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.212, allocations: 3.875 kB / 1.145 GB, free: 27.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.175e-05/1.212, allocations: 97.84 kB / 1.145 GB, free: 27.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.212, allocations: 0 / 1.145 GB, free: 27.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003096/1.212, allocations: 16 kB / 1.145 GB, free: 27.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001118/1.213, allocations: 0.7781 MB / 1.146 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000603/1.214, allocations: 95.23 kB / 1.146 GB, free: 26.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.214, allocations: 0 / 1.146 GB, free: 26.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/1.214, allocations: 44.27 kB / 1.146 GB, free: 26.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/1.214, allocations: 16.81 kB / 1.146 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.216, allocations: 0.577 MB / 1.146 GB, free: 25.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.216, allocations: 0.6887 MB / 1.147 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.138e-05/1.217, allocations: 7.922 kB / 1.147 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/1.217, allocations: 19.31 kB / 1.147 GB, free: 24.86 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.217, allocations: 0 / 1.147 GB, free: 24.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/1.241, allocations: 2.25 MB / 1.149 GB, free: 22.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/1.241, allocations: 186.9 kB / 1.149 GB, free: 22.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.649, allocations: 2.625 kB / 1.149 GB, free: 22.51 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)