Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001681/0.001681, 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.002049/0.002049, allocations: 217.5 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.513/1.513, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.002052/0.002052, allocations: 65.7 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002757/0.4237, allocations: 1.294 MB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.5837, allocations: 115.7 MB / 1.46 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.5837, allocations: 0 / 1.46 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.5838, allocations: 3.938 kB / 1.46 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.5838, allocations: 7.938 kB / 1.46 GB, free: 10.53 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.5844, allocations: 63.89 kB / 1.46 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.5845, allocations: 15.92 kB / 1.46 GB, free: 10.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/0.5846, allocations: 4 kB / 1.46 GB, free: 10.45 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.5847, allocations: 19.86 kB / 1.46 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.5848, allocations: 7.984 kB / 1.46 GB, free: 10.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.5848, allocations: 4 kB / 1.46 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.5849, allocations: 16 kB / 1.46 GB, free: 10.4 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.5849, allocations: 3.984 kB / 1.46 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.5849, allocations: 7.938 kB / 1.46 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.5851, allocations: 23.98 kB / 1.46 GB, free: 10.36 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5851, allocations: 0 / 1.46 GB, free: 10.36 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5851, allocations: 0 / 1.46 GB, free: 10.36 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.5851, allocations: 3.938 kB / 1.46 GB, free: 10.36 MB / 1.154 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.0005429/0.5857, allocations: 254.3 kB / 1.46 GB, free: 10.08 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5857, allocations: 11.97 kB / 1.46 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.812e-05/0.5857, allocations: 8.188 kB / 1.46 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.5858, allocations: 30.75 kB / 1.46 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.5858, allocations: 0.9375 kB / 1.46 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.586, allocations: 114.5 kB / 1.46 GB, free: 9.883 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.5861, allocations: 59.97 kB / 1.46 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.5861, allocations: 384 / 1.46 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5863, allocations: 37.81 kB / 1.46 GB, free: 9.77 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5863, allocations: 4 kB / 1.46 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5863, allocations: 0 / 1.46 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5863, allocations: 0 / 1.46 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5864, allocations: 23.92 kB / 1.46 GB, free: 9.742 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.5866, allocations: 128.7 kB / 1.46 GB, free: 9.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.5868, allocations: 30.61 kB / 1.46 GB, free: 9.535 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.5868, allocations: 12.94 kB / 1.46 GB, free: 9.52 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.587, allocations: 8 kB / 1.46 GB, free: 9.512 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.587, allocations: 42.48 kB / 1.46 GB, free: 9.461 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.587, allocations: 0 / 1.46 GB, free: 9.461 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002878/0.5873, allocations: 61.62 kB / 1.46 GB, free: 9.395 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5874, allocations: 55.41 kB / 1.461 GB, free: 9.328 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.5875, allocations: 93.84 kB / 1.461 GB, free: 9.227 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5875, allocations: 29.7 kB / 1.461 GB, free: 9.191 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.5875, allocations: 80.14 kB / 1.461 GB, free: 9.109 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.5876, allocations: 11.91 kB / 1.461 GB, free: 9.098 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.5876, allocations: 13.72 kB / 1.461 GB, free: 9.078 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5878, allocations: 318.8 kB / 1.461 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.5878, allocations: 4 kB / 1.461 GB, free: 8.754 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.5879, allocations: 7.938 kB / 1.461 GB, free: 8.746 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.873e-05/0.588, allocations: 29.31 kB / 1.461 GB, free: 8.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.588, allocations: 0 / 1.461 GB, free: 8.715 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000156/0.5881, allocations: 65.58 kB / 1.461 GB, free: 8.645 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5881, allocations: 4 kB / 1.461 GB, free: 8.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5881, allocations: 3.984 kB / 1.461 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5882, allocations: 3.938 kB / 1.461 GB, free: 8.633 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.5882, allocations: 4 kB / 1.461 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5882, allocations: 4 kB / 1.461 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.5883, allocations: 0 / 1.461 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5883, allocations: 4 kB / 1.461 GB, free: 8.621 MB / 1.154 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 0.0001014/0.5884, allocations: 117.8 kB / 1.461 GB, free: 8.496 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.5884, allocations: 3.938 kB / 1.461 GB, free: 8.492 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.5886, allocations: 57.31 kB / 1.461 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5886, allocations: 4 kB / 1.461 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5886, allocations: 3.984 kB / 1.461 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5886, allocations: 0 / 1.461 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.5887, allocations: 120.8 kB / 1.461 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5887, allocations: 0 / 1.461 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.5887, allocations: 15.92 kB / 1.461 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5887, allocations: 0 / 1.461 GB, free: 8.242 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.5888, allocations: 4 kB / 1.461 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5888, allocations: 0 / 1.461 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5888, allocations: 0 / 1.461 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5889, allocations: 77.08 kB / 1.462 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.589, allocations: 7.922 kB / 1.462 GB, free: 8.137 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.589, allocations: 4 kB / 1.462 GB, free: 8.133 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.589, allocations: 0 / 1.462 GB, free: 8.133 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.589, allocations: 3.938 kB / 1.462 GB, free: 8.129 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.5891, allocations: 4 kB / 1.462 GB, free: 8.125 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.5891, allocations: 87.27 kB / 1.462 GB, free: 8.039 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5891, allocations: 0 / 1.462 GB, free: 8.039 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001947/0.5893, allocations: 11.94 kB / 1.462 GB, free: 8.027 MB / 1.154 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.000539/0.5898, allocations: 0.6163 MB / 1.462 GB, free: 7.379 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.59, allocations: 23.91 kB / 1.462 GB, free: 7.355 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.59, allocations: 0 / 1.462 GB, free: 7.355 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.59, allocations: 12 kB / 1.462 GB, free: 7.344 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.5903, allocations: 8.938 kB / 1.462 GB, free: 7.336 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5908, allocations: 157.8 kB / 1.462 GB, free: 7.141 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.5909, allocations: 63.28 kB / 1.463 GB, free: 7.059 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.5909, allocations: 4.469 kB / 1.463 GB, free: 7.055 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.5909, allocations: 15.44 kB / 1.463 GB, free: 7.039 MB / 1.154 GB Notification: Performance of SimCode: time 3.1e-07/0.5909, allocations: 3.938 kB / 1.463 GB, free: 7.035 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.6184, allocations: 1.571 MB / 1.464 GB, free: 5.625 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.92, allocations: 11.98 kB / 1.464 GB, free: 5.613 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.1276139189722] Failed to read output from testmodel.py, exit status != 0: 12.082830818020739 12.10907665 11.519176825 Calling exit ...