Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_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.6/2.6, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001471/0.001471, allocations: 180.8 kB / 370.8 MB, free: 10.9 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.105/2.105, allocations: 205.4 MB / 0.6295 GB, free: 10.68 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.001168/0.001168, allocations: 90.86 kB / 0.7428 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005184, allocations: 15.81 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.29, allocations: 164.4 MB / 1.139 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/1.29, allocations: 83.53 kB / 1.139 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008253/1.298, allocations: 1.623 MB / 1.14 GB, free: 30.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/1.298, allocations: 0 / 1.14 GB, free: 30.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.549e-06/1.298, allocations: 0 / 1.14 GB, free: 30.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000493/1.299, allocations: 330.5 kB / 1.141 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.299, allocations: 11.64 kB / 1.141 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/1.299, allocations: 34.56 kB / 1.141 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/1.299, allocations: 14.23 kB / 1.141 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/1.299, allocations: 166.2 kB / 1.141 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.299, allocations: 29.45 kB / 1.141 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/1.299, allocations: 0 / 1.141 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/1.3, allocations: 41 kB / 1.141 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.3, allocations: 0 / 1.141 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.3, allocations: 192 / 1.141 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.3, allocations: 3.953 kB / 1.141 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/1.3, allocations: 19.61 kB / 1.141 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/1.3, allocations: 153.4 kB / 1.141 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/1.3, allocations: 35.89 kB / 1.141 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/1.301, allocations: 88.84 kB / 1.141 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.301, allocations: 34.44 kB / 1.141 GB, free: 29.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/1.301, allocations: 4 kB / 1.141 GB, free: 29.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004354/1.301, allocations: 52.28 kB / 1.141 GB, free: 29.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.301, allocations: 55.39 kB / 1.142 GB, free: 29.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/1.301, allocations: 96.02 kB / 1.142 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.302, allocations: 25.7 kB / 1.142 GB, free: 29.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/1.302, allocations: 82 kB / 1.142 GB, free: 28.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/1.302, allocations: 11.12 kB / 1.142 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/1.302, allocations: 0 / 1.142 GB, free: 28.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.302, allocations: 322.8 kB / 1.142 GB, free: 28.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/1.302, allocations: 3.875 kB / 1.142 GB, free: 28.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/1.302, allocations: 7.031 kB / 1.142 GB, free: 28.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/1.302, allocations: 11.64 kB / 1.142 GB, free: 28.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.302, allocations: 0 / 1.142 GB, free: 28.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002801/1.303, allocations: 48.53 kB / 1.142 GB, free: 28.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.303, allocations: 7.688 kB / 1.142 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.303, allocations: 4 kB / 1.142 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.303, allocations: 0 / 1.142 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.303, allocations: 11.02 kB / 1.142 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.303, allocations: 0 / 1.142 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/1.303, allocations: 7.781 kB / 1.142 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.303, allocations: 1.422 kB / 1.142 GB, free: 28.59 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.000127/1.303, allocations: 109.8 kB / 1.142 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/1.303, allocations: 6.328 kB / 1.142 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/1.303, allocations: 63.17 kB / 1.142 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.303, allocations: 3.844 kB / 1.142 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.303, allocations: 0 / 1.142 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.303, allocations: 0 / 1.142 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1.304, allocations: 160.4 kB / 1.142 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.304, allocations: 4 kB / 1.142 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/1.304, allocations: 3.844 kB / 1.142 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.304, allocations: 0 / 1.142 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.304, allocations: 3.984 kB / 1.142 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.304, allocations: 3.812 kB / 1.142 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.304, allocations: 3.984 kB / 1.142 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/1.304, allocations: 79.11 kB / 1.143 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.304, allocations: 88.94 kB / 1.143 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.304, allocations: 0 / 1.143 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/1.304, allocations: 7.281 kB / 1.143 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/1.304, allocations: 3.938 kB / 1.143 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.305, allocations: 3.938 kB / 1.143 GB, free: 28.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.772e-05/1.305, allocations: 87.05 kB / 1.143 GB, free: 27.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.305, allocations: 0 / 1.143 GB, free: 27.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000456/1.305, allocations: 7.656 kB / 1.143 GB, free: 27.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 () * 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.0009438/1.306, allocations: 0.6453 MB / 1.143 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002833/1.306, allocations: 34.36 kB / 1.143 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.306, allocations: 3.812 kB / 1.143 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/1.307, allocations: 10.45 kB / 1.143 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/1.307, allocations: 6.078 kB / 1.143 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/1.308, allocations: 167.3 kB / 1.144 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/1.308, allocations: 0.6844 MB / 1.144 GB, free: 26.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.722e-05/1.308, allocations: 3.984 kB / 1.144 GB, free: 26.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/1.308, allocations: 11.12 kB / 1.144 GB, free: 26.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.924e-06/1.308, allocations: 0 / 1.144 GB, free: 26.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/1.333, allocations: 1.696 MB / 1.146 GB, free: 25.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.334, allocations: 201.8 kB / 1.146 GB, free: 25.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.763, allocations: 0 / 1.146 GB, free: 25.42 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)