Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 217.6 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.19 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 169.9 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003021/0.3342, allocations: 1.508 MB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.484, allocations: 115.7 MB / 1.399 GB, free: 5.07 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.4841, allocations: 0 / 1.399 GB, free: 5.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.4841, allocations: 7.922 kB / 1.399 GB, free: 5.062 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.4842, allocations: 11.92 kB / 1.399 GB, free: 5.051 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.4846, allocations: 67.19 kB / 1.399 GB, free: 4.988 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.4847, allocations: 51.84 kB / 1.399 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.4848, allocations: 11.98 kB / 1.399 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.4849, allocations: 19.92 kB / 1.399 GB, free: 4.906 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.4849, allocations: 27.86 kB / 1.399 GB, free: 4.879 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4849, allocations: 4 kB / 1.399 GB, free: 4.875 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.485, allocations: 27.92 kB / 1.399 GB, free: 4.848 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.4851, allocations: 7.984 kB / 1.399 GB, free: 4.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.4851, allocations: 19.88 kB / 1.399 GB, free: 4.82 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.4852, allocations: 63.8 kB / 1.399 GB, free: 4.758 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4852, allocations: 0 / 1.399 GB, free: 4.758 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4852, allocations: 0 / 1.399 GB, free: 4.758 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4852, allocations: 0 / 1.399 GB, free: 4.758 MB / 1.092 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.0005558/0.4858, allocations: 302.1 kB / 1.399 GB, free: 4.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4858, allocations: 8.031 kB / 1.399 GB, free: 4.422 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.4859, allocations: 8.188 kB / 1.399 GB, free: 4.414 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.4859, allocations: 30.75 kB / 1.399 GB, free: 4.375 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.4859, allocations: 8.891 kB / 1.399 GB, free: 4.367 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4861, allocations: 118.5 kB / 1.399 GB, free: 4.227 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4861, allocations: 384 / 1.399 GB, free: 4.227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4861, allocations: 8.312 kB / 1.399 GB, free: 4.219 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.4864, allocations: 77.95 kB / 1.399 GB, free: 4.137 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4864, allocations: 0 / 1.399 GB, free: 4.137 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4864, allocations: 0 / 1.399 GB, free: 4.137 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4864, allocations: 3.984 kB / 1.399 GB, free: 4.133 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.4867, allocations: 75.92 kB / 1.399 GB, free: 4.059 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.4871, allocations: 251.8 kB / 1.4 GB, free: 3.77 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4873, allocations: 54.53 kB / 1.4 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.4875, allocations: 32.92 kB / 1.4 GB, free: 3.672 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.4876, allocations: 23.98 kB / 1.4 GB, free: 3.648 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4877, allocations: 30.56 kB / 1.4 GB, free: 3.609 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4877, allocations: 0 / 1.4 GB, free: 3.609 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0005715/0.4882, allocations: 137.4 kB / 1.4 GB, free: 3.469 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4883, allocations: 55.41 kB / 1.4 GB, free: 3.402 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4884, allocations: 113.8 kB / 1.4 GB, free: 3.281 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4884, allocations: 29.7 kB / 1.4 GB, free: 3.246 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.4885, allocations: 92.12 kB / 1.4 GB, free: 3.152 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4885, allocations: 7.906 kB / 1.4 GB, free: 3.145 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.4886, allocations: 17.72 kB / 1.4 GB, free: 3.121 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4887, allocations: 314.8 kB / 1.401 GB, free: 2.805 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4889, allocations: 35.95 kB / 1.401 GB, free: 2.77 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.489, allocations: 27.97 kB / 1.401 GB, free: 2.742 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.4893, allocations: 76.72 kB / 1.401 GB, free: 2.664 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4893, allocations: 0 / 1.401 GB, free: 2.664 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.4896, allocations: 93.62 kB / 1.401 GB, free: 2.566 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4896, allocations: 8 kB / 1.401 GB, free: 2.559 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4896, allocations: 7.984 kB / 1.401 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4896, allocations: 0 / 1.401 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4898, allocations: 11.98 kB / 1.401 GB, free: 2.539 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4898, allocations: 4 kB / 1.401 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.4898, allocations: 11.98 kB / 1.401 GB, free: 2.523 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.4899, allocations: 4 kB / 1.401 GB, free: 2.52 MB / 1.092 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.4899, allocations: 110.7 kB / 1.401 GB, free: 2.402 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.49, allocations: 11.89 kB / 1.401 GB, free: 2.391 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.4903, allocations: 117.5 kB / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4904, allocations: 0 / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4904, allocations: 0 / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.4904, allocations: 0 / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4905, allocations: 140.7 kB / 1.401 GB, free: 2.086 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4905, allocations: 0 / 1.401 GB, free: 2.086 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.4906, allocations: 11.98 kB / 1.401 GB, free: 2.074 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4906, allocations: 4 kB / 1.401 GB, free: 2.07 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4906, allocations: 11.98 kB / 1.401 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4907, allocations: 0 / 1.401 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4907, allocations: 384 / 1.401 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.491, allocations: 203.3 kB / 1.401 GB, free: 1.844 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.491, allocations: 7.938 kB / 1.401 GB, free: 1.836 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4911, allocations: 0 / 1.401 GB, free: 1.836 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4912, allocations: 19.97 kB / 1.401 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4912, allocations: 4 kB / 1.401 GB, free: 1.812 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4912, allocations: 4 kB / 1.401 GB, free: 1.809 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.4913, allocations: 91.27 kB / 1.402 GB, free: 1.719 MB / 1.092 GB Notification: Performance of sort global known variables: time 6e-08/0.4913, allocations: 0 / 1.402 GB, free: 1.719 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002391/0.4915, allocations: 15.95 kB / 1.402 GB, free: 1.703 MB / 1.092 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007404/0.4923, allocations: 0.7435 MB / 1.402 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.4926, allocations: 71.86 kB / 1.402 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4926, allocations: 0 / 1.402 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4928, allocations: 31.97 kB / 1.402 GB, free: 0.832 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4931, allocations: 23.97 kB / 1.402 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4952, allocations: 1.421 MB / 1.404 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.4952, allocations: 71.27 kB / 1.404 GB, free: 15.22 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4953, allocations: 4 kB / 1.404 GB, free: 15.21 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.4953, allocations: 19.44 kB / 1.404 GB, free: 15.2 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/0.4953, allocations: 0 / 1.404 GB, free: 15.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.5179, allocations: 2.325 MB / 1.406 GB, free: 13.05 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.03, allocations: 9.156 kB / 1.406 GB, free: 13.04 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.876731344033033] Failed to read output from testmodel.py, exit status != 0: 12.813121860963292 12.213036859 11.724416788 Calling exit ...