Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.002252/0.002252, 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.002361/0.002361, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.791/2.791, allocations: 476.8 MB / 0.7715 GB, free: 3.934 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_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.002019/0.002019, allocations: 67.69 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002421/0.316, allocations: 1.292 MB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.4623, allocations: 115.7 MB / 1.398 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.4623, allocations: 0 / 1.398 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.4624, allocations: 0 / 1.398 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.4624, allocations: 3.938 kB / 1.398 GB, free: 5.316 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.4629, allocations: 63.66 kB / 1.398 GB, free: 5.254 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.463, allocations: 27.86 kB / 1.398 GB, free: 5.227 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.463, allocations: 0 / 1.398 GB, free: 5.227 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.4631, allocations: 8 kB / 1.398 GB, free: 5.219 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.4631, allocations: 11.92 kB / 1.398 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4631, allocations: 0 / 1.398 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4632, allocations: 19.94 kB / 1.398 GB, free: 5.188 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.4633, allocations: 3.984 kB / 1.398 GB, free: 5.184 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.4633, allocations: 7.938 kB / 1.398 GB, free: 5.176 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.4634, allocations: 25.52 kB / 1.398 GB, free: 5.152 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4634, allocations: 4 kB / 1.398 GB, free: 5.148 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4634, allocations: 4 kB / 1.398 GB, free: 5.145 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4634, allocations: 0 / 1.398 GB, free: 5.145 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000475/0.4639, allocations: 261.9 kB / 1.399 GB, free: 4.859 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.464, allocations: 8.031 kB / 1.399 GB, free: 4.852 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/0.464, allocations: 192 / 1.399 GB, free: 4.852 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.464, allocations: 42.67 kB / 1.399 GB, free: 4.801 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.4641, allocations: 4.938 kB / 1.399 GB, free: 4.797 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4642, allocations: 110.5 kB / 1.399 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.4643, allocations: 51.97 kB / 1.399 GB, free: 4.602 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4643, allocations: 8.375 kB / 1.399 GB, free: 4.594 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4645, allocations: 45.75 kB / 1.399 GB, free: 4.543 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4645, allocations: 0 / 1.399 GB, free: 4.543 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4645, allocations: 0 / 1.399 GB, free: 4.543 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4645, allocations: 4 kB / 1.399 GB, free: 4.539 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.4646, allocations: 11.98 kB / 1.399 GB, free: 4.527 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.4648, allocations: 124.7 kB / 1.399 GB, free: 4.363 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4649, allocations: 30.61 kB / 1.399 GB, free: 4.324 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.4649, allocations: 16.94 kB / 1.399 GB, free: 4.305 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.4651, allocations: 15.94 kB / 1.399 GB, free: 4.289 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.4651, allocations: 42.48 kB / 1.399 GB, free: 4.238 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4651, allocations: 0 / 1.399 GB, free: 4.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002621/0.4654, allocations: 53.64 kB / 1.399 GB, free: 4.18 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4654, allocations: 51.41 kB / 1.399 GB, free: 4.117 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.4655, allocations: 101.8 kB / 1.399 GB, free: 4.008 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4655, allocations: 25.7 kB / 1.399 GB, free: 3.977 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.4656, allocations: 84.14 kB / 1.4 GB, free: 3.891 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.4656, allocations: 7.953 kB / 1.4 GB, free: 3.883 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.4657, allocations: 17.72 kB / 1.4 GB, free: 3.859 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4658, allocations: 314.8 kB / 1.4 GB, free: 3.543 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.4658, allocations: 4 kB / 1.4 GB, free: 3.539 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.4659, allocations: 15.86 kB / 1.4 GB, free: 3.523 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.466, allocations: 21.33 kB / 1.4 GB, free: 3.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.466, allocations: 0 / 1.4 GB, free: 3.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001355/0.4661, allocations: 53.61 kB / 1.4 GB, free: 3.441 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4661, allocations: 10.34 kB / 1.4 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4661, allocations: 4 kB / 1.4 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4661, allocations: 8.031 kB / 1.4 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.4662, allocations: 4 kB / 1.4 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4662, allocations: 0 / 1.4 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.4663, allocations: 8 kB / 1.4 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4663, allocations: 0 / 1.4 GB, free: 3.41 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.227e-05/0.4664, allocations: 117.7 kB / 1.4 GB, free: 3.285 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4664, allocations: 11.89 kB / 1.4 GB, free: 3.273 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.4666, allocations: 57.36 kB / 1.4 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4666, allocations: 4 kB / 1.4 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4666, allocations: 0 / 1.4 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4666, allocations: 4 kB / 1.4 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4667, allocations: 116.8 kB / 1.4 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4667, allocations: 0 / 1.4 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.4667, allocations: 15.92 kB / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4667, allocations: 0 / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4667, allocations: 0 / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4668, allocations: 0 / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4668, allocations: 4 kB / 1.4 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.4669, allocations: 77.06 kB / 1.4 GB, free: 2.934 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.467, allocations: 7.922 kB / 1.4 GB, free: 2.926 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.467, allocations: 0 / 1.4 GB, free: 2.926 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.467, allocations: 8 kB / 1.4 GB, free: 2.918 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.467, allocations: 0 / 1.4 GB, free: 2.918 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.467, allocations: 0 / 1.4 GB, free: 2.918 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.4671, allocations: 83.27 kB / 1.4 GB, free: 2.836 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 0 / 1.4 GB, free: 2.836 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000202/0.4673, allocations: 11.94 kB / 1.4 GB, free: 2.824 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.0005724/0.4679, allocations: 0.6279 MB / 1.401 GB, free: 2.164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.468, allocations: 23.97 kB / 1.401 GB, free: 2.141 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.468, allocations: 0 / 1.401 GB, free: 2.141 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.4681, allocations: 8 kB / 1.401 GB, free: 2.133 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.4684, allocations: 11.97 kB / 1.401 GB, free: 2.121 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.4688, allocations: 169.7 kB / 1.401 GB, free: 1.914 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.4688, allocations: 63.34 kB / 1.401 GB, free: 1.832 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.4689, allocations: 0 / 1.401 GB, free: 1.832 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.4689, allocations: 11.91 kB / 1.401 GB, free: 1.82 MB / 1.092 GB Notification: Performance of SimCode: time 4.81e-07/0.4689, allocations: 3.938 kB / 1.401 GB, free: 1.816 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.4904, allocations: 1.561 MB / 1.403 GB, free: 424 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.01, allocations: 12.38 kB / 1.403 GB, free: 416 kB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.963292745058425] Failed to read output from testmodel.py, exit status != 0: 12.752616154029965 12.207049372 11.73877517 Calling exit ...