Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 176.4 kB / 326.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.000903/0.0009029, allocations: 95.55 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 11.22 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001597/0.2696, allocations: 1.207 MB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.4031, allocations: 119.6 MB / 1.018 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.4032, allocations: 0 / 1.018 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.4033, allocations: 0 / 1.018 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.4034, allocations: 7.875 kB / 1.018 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.4038, allocations: 55.78 kB / 1.018 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4039, allocations: 43.86 kB / 1.018 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4041, allocations: 23.91 kB / 1.018 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.4041, allocations: 11.98 kB / 1.018 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.4042, allocations: 19.92 kB / 1.018 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4042, allocations: 3.938 kB / 1.018 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.4043, allocations: 15.98 kB / 1.018 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4044, allocations: 8 kB / 1.018 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.4044, allocations: 33.58 kB / 1.019 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.4046, allocations: 52.08 kB / 1.019 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4046, allocations: 0 / 1.019 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.818e-06/0.4046, allocations: 4 kB / 1.019 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4046, allocations: 0 / 1.019 GB, free: 6.305 MB / 0.6667 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.0007077/0.4053, allocations: 371.2 kB / 1.019 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.4054, allocations: 12.02 kB / 1.019 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.4054, allocations: 34.56 kB / 1.019 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.4055, allocations: 11.91 kB / 1.019 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4057, allocations: 167 kB / 1.019 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4057, allocations: 0 / 1.019 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4057, allocations: 8 kB / 1.019 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.406, allocations: 81.64 kB / 1.019 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4061, allocations: 7.938 kB / 1.019 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4061, allocations: 4 kB / 1.019 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4061, allocations: 0 / 1.019 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4064, allocations: 91.92 kB / 1.019 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.4068, allocations: 280.7 kB / 1.02 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.4071, allocations: 70.48 kB / 1.02 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4072, allocations: 48.91 kB / 1.02 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.4074, allocations: 97.09 kB / 1.02 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4075, allocations: 30.56 kB / 1.02 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4075, allocations: 0 / 1.02 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.000582/0.408, allocations: 165.6 kB / 1.02 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4081, allocations: 59.34 kB / 1.02 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4082, allocations: 117.6 kB / 1.02 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4082, allocations: 29.7 kB / 1.02 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.4083, allocations: 92.05 kB / 1.02 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.4083, allocations: 7.844 kB / 1.02 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.4084, allocations: 0 / 1.02 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4085, allocations: 322.8 kB / 1.021 GB, free: 4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.4087, allocations: 39.97 kB / 1.021 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4088, allocations: 47.95 kB / 1.021 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.409, allocations: 43.91 kB / 1.021 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.409, allocations: 0 / 1.021 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00036/0.4094, allocations: 121.8 kB / 1.021 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4094, allocations: 4 kB / 1.021 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4094, allocations: 7.984 kB / 1.021 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4095, allocations: 11.97 kB / 1.021 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4096, allocations: 19.98 kB / 1.021 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4096, allocations: 3.953 kB / 1.021 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.4097, allocations: 19.92 kB / 1.021 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4097, allocations: 3.984 kB / 1.021 GB, free: 3.676 MB / 0.6667 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 8.284e-05/0.4098, allocations: 117.8 kB / 1.021 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4099, allocations: 4 kB / 1.021 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.4103, allocations: 133.5 kB / 1.021 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4103, allocations: 0 / 1.021 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4103, allocations: 0 / 1.021 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4103, allocations: 3.953 kB / 1.021 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4105, allocations: 169.7 kB / 1.021 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4105, allocations: 4 kB / 1.021 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.4106, allocations: 23.97 kB / 1.021 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4106, allocations: 4 kB / 1.021 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.4106, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4106, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4106, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.411, allocations: 219.3 kB / 1.022 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.4111, allocations: 93 kB / 1.022 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4111, allocations: 0 / 1.022 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4112, allocations: 19.98 kB / 1.022 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.4113, allocations: 3.984 kB / 1.022 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4113, allocations: 0 / 1.022 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.4113, allocations: 91.28 kB / 1.022 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4113, allocations: 0 / 1.022 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002093/0.4116, allocations: 15.98 kB / 1.022 GB, free: 2.688 MB / 0.6667 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.0007036/0.4123, allocations: 0.7631 MB / 1.023 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4126, allocations: 91.92 kB / 1.023 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4126, allocations: 0 / 1.023 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4128, allocations: 51.95 kB / 1.023 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4131, allocations: 5.719 kB / 1.023 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4143, allocations: 0.5927 MB / 1.023 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4145, allocations: 0.6811 MB / 1.024 GB, free: 416 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.4146, allocations: 4 kB / 1.024 GB, free: 412 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.4146, allocations: 19.38 kB / 1.024 GB, free: 392 kB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.4146, allocations: 7.938 kB / 1.024 GB, free: 384 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.4262, allocations: 1.707 MB / 1.026 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.4264, allocations: 203.2 kB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/1.934, allocations: 0 / 1.026 GB, free: 14.59 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)