Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_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.001976/0.001976, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002311/0.002311, allocations: 211.9 kB / 22.99 MB, free: 4.605 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.064/1.064, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",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.003282/0.003282, allocations: 73.05 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.243, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003096/0.2461, allocations: 1.279 MB / 0.7294 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2476, allocations: 0.7711 MB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.2476, allocations: 0 / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2477, allocations: 4 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.2477, allocations: 7.922 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.2482, allocations: 131.4 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.2483, allocations: 23.92 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.2484, allocations: 0 / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.2484, allocations: 11.94 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.2485, allocations: 15.97 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2485, allocations: 0 / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.2488, allocations: 159.7 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2489, allocations: 11.92 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2489, allocations: 7.984 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2492, allocations: 119.9 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2492, allocations: 4 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2492, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.2492, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004707/0.2496, allocations: 294 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2497, allocations: 12.03 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2497, allocations: 38.69 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.2498, allocations: 4.938 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2499, allocations: 114.5 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.25, allocations: 55.97 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.25, allocations: 4.359 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2502, allocations: 71.7 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2502, allocations: 0 / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2502, allocations: 0 / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2502, allocations: 4 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2503, allocations: 15.98 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.2505, allocations: 140.6 kB / 0.7314 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2507, allocations: 46.61 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.2508, allocations: 16.94 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.251, allocations: 27.91 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2511, allocations: 38.5 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2511, allocations: 0 / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.2514, allocations: 73.61 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2514, allocations: 51.41 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.2515, allocations: 93.86 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2515, allocations: 29.7 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.2515, allocations: 84.14 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.2516, allocations: 7.906 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.2516, allocations: 25.7 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2518, allocations: 310.8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.2518, allocations: 11.98 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.2519, allocations: 8 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.252, allocations: 32.84 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.252, allocations: 0 / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.2521, allocations: 57.62 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2521, allocations: 11.94 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2521, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2522, allocations: 4.5 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.2522, allocations: 4 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2522, allocations: 3.938 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.2522, allocations: 4 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2522, allocations: 4 kB / 0.7323 GB, free: 12.62 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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.247e-05/0.2523, allocations: 113.8 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.2524, allocations: 7.891 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.2526, allocations: 77.27 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2526, allocations: 0 / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2526, allocations: 0 / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2526, allocations: 0 / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2527, allocations: 124.8 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2527, allocations: 0 / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.2527, allocations: 7.984 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2527, allocations: 11.94 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.2528, allocations: 0 / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2528, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2528, allocations: 0 / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2529, allocations: 81.11 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.253, allocations: 19.83 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.253, allocations: 3.938 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.253, allocations: 3.984 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.2531, allocations: 4 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2531, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.2531, allocations: 87.22 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2531, allocations: 0 / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000254/0.2534, allocations: 39.86 kB / 0.7328 GB, free: 11.96 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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.0006439/0.254, allocations: 0.6513 MB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.2542, allocations: 31.92 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2542, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.2542, allocations: 16 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.2545, allocations: 13.95 kB / 0.7335 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2549, allocations: 169 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.255, allocations: 63.3 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.255, allocations: 7.984 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.2551, allocations: 11.44 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2551, allocations: 0 / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.2868, allocations: 2.524 MB / 0.7362 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.48, allocations: 10.64 kB / 0.7362 GB, free: 8.523 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.517685463652015] Failed to read output from testmodel.py, exit status != 0: 11.590898755006492 11.619690097 11.365113546 Calling exit ...