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.0008004/0.0008004, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009118/0.0009118, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.976/0.976, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5766/0.5766, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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.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: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.347e-05, allocations: 9.578 kB / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002107/0.00214, allocations: 1.265 MB / 0.5554 GB, free: 444 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.00318, allocations: 0.7786 MB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.00321, allocations: 0 / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.003234, allocations: 3.984 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.003284, allocations: 7.984 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.003828, allocations: 131.3 kB / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.003908, allocations: 31.84 kB / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.003949, allocations: 0 / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.004005, allocations: 15.98 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.004063, allocations: 11.98 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004077, allocations: 0 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.004316, allocations: 163.6 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.004334, allocations: 3.984 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.004359, allocations: 15.94 kB / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.004581, allocations: 131.6 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.004587, allocations: 3.984 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.004589, allocations: 0 / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.004594, allocations: 4 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB 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.0003859/0.00498, allocations: 290 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.005021, allocations: 16.5 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.005051, allocations: 30.75 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005085, allocations: 8.938 kB / 0.557 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/0.005165, allocations: 109.8 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.005259, allocations: 59.97 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.005269, allocations: 4.375 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.0054, allocations: 67.95 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005406, allocations: 192 / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.005415, allocations: 384 / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005422, allocations: 3.938 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.005488, allocations: 23.92 kB / 0.5573 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.005616, allocations: 124.8 kB / 0.5574 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.005805, allocations: 42.61 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.005837, allocations: 20.94 kB / 0.5575 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.006003, allocations: 27.95 kB / 0.5575 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.006032, allocations: 38.56 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.006033, allocations: 0 / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.006238, allocations: 77.5 kB / 0.5576 GB, free: 14.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.00627, allocations: 51.41 kB / 0.5576 GB, free: 13.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.006329, allocations: 97.86 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.006342, allocations: 25.7 kB / 0.5578 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.006366, allocations: 80.14 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.006407, allocations: 19.88 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.00644, allocations: 21.67 kB / 0.5579 GB, free: 13.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.006522, allocations: 314.8 kB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.006561, allocations: 7.984 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.006586, allocations: 12 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.006645, allocations: 25.31 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.006648, allocations: 4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.812e-05/0.006736, allocations: 65.61 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006752, allocations: 4 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.00676, allocations: 3.984 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.006776, allocations: 3.938 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.006818, allocations: 8 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.006824, allocations: 0 / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.006842, allocations: 0 / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.006848, allocations: 7.938 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB 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 6.297e-05/0.006911, allocations: 109.8 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.006918, allocations: 4 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.007052, allocations: 77.27 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.007057, allocations: 3.938 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.007063, allocations: 4 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007066, allocations: 3.938 kB / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.007415, allocations: 124.7 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007416, allocations: 0 / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.007445, allocations: 11.98 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.007447, allocations: 0 / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007454, allocations: 4 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.007457, allocations: 3.938 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007458, allocations: 0 / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.952e-05/0.007558, allocations: 89.05 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.007599, allocations: 4 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.007609, allocations: 0 / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.007637, allocations: 11.92 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.007677, allocations: 4 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.007682, allocations: 4 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.693e-05/0.007709, allocations: 75.28 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007709, allocations: 4 kB / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.007902, allocations: 39.86 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB 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.0004094/0.008311, allocations: 0.6552 MB / 0.5595 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.008421, allocations: 27.92 kB / 0.5595 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.008424, allocations: 4 kB / 0.5595 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.008448, allocations: 12.41 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.008654, allocations: 16.45 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.009001, allocations: 162.3 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.009036, allocations: 55.36 kB / 0.5598 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.009069, allocations: 12.08 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.009102, allocations: 24.48 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009102, allocations: 0 / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.02927, allocations: 2.667 MB / 0.5624 GB, free: 9.047 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.173, allocations: 2.5 kB / 0.5624 GB, free: 9.047 MB / 490.7 MB " [Timeout remaining time 653] (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: 9.790414781309664] Failed to read output from testmodel.py, exit status != 0: 7.257607012987137 7.268314195 7.261739204 Calling exit ...