Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001132/0.001132, allocations: 180.9 kB / 366.7 MB, free: 1.707 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.809/1.809, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0009368/0.0009367, allocations: 91.98 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.303e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7749, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/1.018, allocations: 164.8 MB / 1.134 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.018, allocations: 76.48 kB / 1.134 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004198/1.023, allocations: 1.599 MB / 1.136 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.023, allocations: 4.719 kB / 1.136 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.023, allocations: 0 / 1.136 GB, free: 15.7 MB / 0.7448 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.0003376/1.023, allocations: 319.3 kB / 1.136 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.023, allocations: 8.969 kB / 1.136 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/1.023, allocations: 12.62 kB / 1.136 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.023, allocations: 171.8 kB / 1.136 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/1.023, allocations: 33.69 kB / 1.136 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/1.024, allocations: 0 / 1.136 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.11e-05/1.024, allocations: 9.875 kB / 1.136 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.556e-05/1.024, allocations: 35.19 kB / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.024, allocations: 0 / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.024, allocations: 0 / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.024, allocations: 2.438 kB / 1.136 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/1.024, allocations: 143.5 kB / 1.137 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/1.024, allocations: 27.89 kB / 1.137 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/1.024, allocations: 8.859 kB / 1.137 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.024, allocations: 90.66 kB / 1.137 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.024, allocations: 30.56 kB / 1.137 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/1.024, allocations: 1.188 kB / 1.137 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/1.024, allocations: 45.69 kB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.025, allocations: 52.12 kB / 1.137 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/1.025, allocations: 89 kB / 1.137 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/1.025, allocations: 26.58 kB / 1.137 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/1.025, allocations: 88.08 kB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/1.025, allocations: 4.719 kB / 1.137 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/1.025, allocations: 0 / 1.137 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.025, allocations: 316.8 kB / 1.137 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/1.025, allocations: 4 kB / 1.137 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/1.025, allocations: 10.44 kB / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/1.025, allocations: 7.953 kB / 1.137 GB, free: 14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.025, allocations: 4 kB / 1.137 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.692e-05/1.025, allocations: 45.69 kB / 1.137 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.025, allocations: 4 kB / 1.137 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.025, allocations: 0 / 1.137 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.025, allocations: 3.984 kB / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/1.025, allocations: 8 kB / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.025, allocations: 3.391 kB / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/1.025, allocations: 0 / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.025, allocations: 0 / 1.137 GB, free: 13.93 MB / 0.7448 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 (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 8.153e-05/1.025, allocations: 112.9 kB / 1.138 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.631e-05/1.025, allocations: 45.59 kB / 1.138 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/1.025, allocations: 4 kB / 1.138 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/1.026, allocations: 54.22 kB / 1.138 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.026, allocations: 4.031 kB / 1.138 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.026, allocations: 0 / 1.138 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.026, allocations: 0 / 1.138 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/1.026, allocations: 138.2 kB / 1.138 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.026, allocations: 0 / 1.138 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/1.026, allocations: 10.44 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.026, allocations: 4 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.026, allocations: 0 / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.026, allocations: 4 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.026, allocations: 0 / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/1.026, allocations: 73.06 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/1.026, allocations: 84.3 kB / 1.138 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/1.026, allocations: 0 / 1.138 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/1.026, allocations: 4 kB / 1.138 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/1.026, allocations: 11.98 kB / 1.138 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.026, allocations: 0 / 1.138 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.648e-05/1.026, allocations: 79.28 kB / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/1.026, allocations: 0 / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001962/1.026, allocations: 15.94 kB / 1.138 GB, free: 13.2 MB / 0.7448 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 (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.0005533/1.027, allocations: 0.6579 MB / 1.139 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/1.027, allocations: 11.98 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.027, allocations: 0 / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/1.027, allocations: 8 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/1.027, allocations: 5.484 kB / 1.139 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/1.028, allocations: 90.78 kB / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.028, allocations: 0.6768 MB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.047e-05/1.028, allocations: 8 kB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/1.028, allocations: 11.44 kB / 1.14 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/1.028, allocations: 0 / 1.14 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/1.05, allocations: 1.102 MB / 1.141 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.05, allocations: 152.2 kB / 1.141 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.704, allocations: 5.406 kB / 1.141 GB, free: 10.39 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)