Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001399/0.001399, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001479/0.001479, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.047/1.047, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00205/0.00205, allocations: 61.94 kB / 0.6419 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 89.18 MB / 0.729 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002993/0.1739, allocations: 1.484 MB / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5206/0.6946, allocations: 115.7 MB / 0.8435 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.6946, allocations: 0 / 0.8435 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.6947, allocations: 3.938 kB / 0.8435 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.6947, allocations: 10.59 kB / 0.8435 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.6952, allocations: 78.81 kB / 0.8436 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.6953, allocations: 44.8 kB / 0.8436 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.6954, allocations: 13.77 kB / 0.8436 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.6954, allocations: 23.45 kB / 0.8436 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.6955, allocations: 28.3 kB / 0.8437 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.6955, allocations: 6.562 kB / 0.8437 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.6956, allocations: 22.48 kB / 0.8437 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.6956, allocations: 10.89 kB / 0.8437 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.6957, allocations: 25.27 kB / 0.8437 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.6958, allocations: 54.17 kB / 0.8438 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6958, allocations: 4 kB / 0.8438 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6958, allocations: 2.844 kB / 0.8438 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.6958, allocations: 0 / 0.8438 GB, free: 10.93 MB / 0.6231 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.0005423/0.6964, allocations: 296.8 kB / 0.8441 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6964, allocations: 10.5 kB / 0.8441 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.6964, allocations: 192 / 0.8441 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.6965, allocations: 38.78 kB / 0.8441 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.6966, allocations: 16.84 kB / 0.8441 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.6968, allocations: 117.1 kB / 0.8443 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6968, allocations: 7.016 kB / 0.8443 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.6968, allocations: 4.312 kB / 0.8443 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.697, allocations: 88.36 kB / 0.8443 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.697, allocations: 0 / 0.8443 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6971, allocations: 3.984 kB / 0.8444 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6971, allocations: 0 / 0.8444 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.6973, allocations: 69.45 kB / 0.8444 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.6977, allocations: 245.6 kB / 0.8447 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.698, allocations: 62.12 kB / 0.8447 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.6981, allocations: 35.7 kB / 0.8447 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.6981, allocations: 0 / 0.8447 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.6981, allocations: 38.55 kB / 0.8448 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.6981, allocations: 0 / 0.8448 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005165/0.6987, allocations: 131.9 kB / 0.8449 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.6987, allocations: 54.34 kB / 0.845 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.6988, allocations: 119.2 kB / 0.8451 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6988, allocations: 33.64 kB / 0.8451 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.6989, allocations: 91.02 kB / 0.8452 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.6989, allocations: 11.84 kB / 0.8452 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.699, allocations: 18.59 kB / 0.8452 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6992, allocations: 318.8 kB / 0.8455 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.6993, allocations: 31 kB / 0.8456 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.6994, allocations: 34.55 kB / 0.8456 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.6997, allocations: 71.59 kB / 0.8457 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6997, allocations: 0.5625 kB / 0.8457 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003412/0.7, allocations: 97.38 kB / 0.8458 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7, allocations: 8.125 kB / 0.8458 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7, allocations: 0 / 0.8458 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7001, allocations: 6.25 kB / 0.8458 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7002, allocations: 17.14 kB / 0.8458 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7002, allocations: 2.719 kB / 0.8458 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.7003, allocations: 12.88 kB / 0.8458 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.7003, allocations: 3.25 kB / 0.8458 GB, free: 9.078 MB / 0.6231 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.893e-05/0.7004, allocations: 124.3 kB / 0.8459 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.7004, allocations: 2.688 kB / 0.8459 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.7005, allocations: 8 kB / 0.8459 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7005, allocations: 4 kB / 0.8459 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.7005, allocations: 2.281 kB / 0.8459 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7005, allocations: 0.5 kB / 0.8459 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.7007, allocations: 133 kB / 0.8461 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7007, allocations: 3.984 kB / 0.8461 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.7008, allocations: 15.11 kB / 0.8461 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7008, allocations: 0 / 0.8461 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.7008, allocations: 2.625 kB / 0.8461 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7008, allocations: 1.625 kB / 0.8461 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7008, allocations: 0 / 0.8461 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.7012, allocations: 210.2 kB / 0.8463 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.7012, allocations: 10.69 kB / 0.8463 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.7012, allocations: 0 / 0.8463 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.7013, allocations: 19.86 kB / 0.8463 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.7014, allocations: 3.984 kB / 0.8463 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.7014, allocations: 2.5 kB / 0.8463 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.918e-05/0.7015, allocations: 92.89 kB / 0.8464 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7015, allocations: 0 / 0.8464 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002285/0.7017, allocations: 12 kB / 0.8464 GB, free: 8.469 MB / 0.6231 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.0007739/0.7025, allocations: 0.7306 MB / 0.8471 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.7028, allocations: 73.14 kB / 0.8472 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7028, allocations: 2.625 kB / 0.8472 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.7029, allocations: 34.36 kB / 0.8472 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.7033, allocations: 10.38 kB / 0.8472 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.7055, allocations: 1.435 MB / 0.8486 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.7055, allocations: 67.25 kB / 0.8487 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.7056, allocations: 6.75 kB / 0.8487 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.7056, allocations: 18.05 kB / 0.8487 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.7056, allocations: 0 / 0.8487 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.729, allocations: 2.228 MB / 0.8509 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.16, allocations: 10.42 kB / 0.8509 GB, free: 5.145 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.147821058053523] Failed to read output from testmodel.py, exit status != 0: 12.32141944905743 12.346990717 11.646178929 Calling exit ...