Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001846/0.001846, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.002411/0.002411, allocations: 163.4 kB / 22.46 MB, free: 5.359 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 233.2 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.053/1.053, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.899e-05, allocations: 9.594 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002246/0.002275, allocations: 1.294 MB / 0.6481 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003641, allocations: 0.773 MB / 0.6488 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.003664, allocations: 4 kB / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.003679, allocations: 0 / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.003736, allocations: 11.86 kB / 0.6488 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.004299, allocations: 135.3 kB / 0.649 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.004395, allocations: 31.84 kB / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.004437, allocations: 0 / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.004502, allocations: 11.98 kB / 0.649 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.004574, allocations: 15.98 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.004593, allocations: 4 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.004924, allocations: 163.6 kB / 0.6492 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.004942, allocations: 0 / 0.6492 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.00497, allocations: 15.86 kB / 0.6492 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.005252, allocations: 131.7 kB / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005255, allocations: 0 / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005255, allocations: 0 / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005259, allocations: 0 / 0.6493 GB, free: 2.43 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.0004654/0.005725, allocations: 294 kB / 0.6496 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.005767, allocations: 17.34 kB / 0.6496 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.005808, allocations: 0.9375 kB / 0.6496 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.005937, allocations: 109.8 kB / 0.6497 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.006032, allocations: 55.97 kB / 0.6498 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.00604, allocations: 384 / 0.6498 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.006208, allocations: 71.94 kB / 0.6498 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.006215, allocations: 192 / 0.6498 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.006227, allocations: 384 / 0.6498 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.006235, allocations: 8.125 kB / 0.6498 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.006339, allocations: 19.92 kB / 0.6499 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.006499, allocations: 105.3 kB / 0.65 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.006727, allocations: 50.61 kB / 0.65 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.006787, allocations: 12.94 kB / 0.65 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.007016, allocations: 27.97 kB / 0.6501 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.007054, allocations: 34.56 kB / 0.6501 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.007055, allocations: 0 / 0.6501 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002704/0.007325, allocations: 77.56 kB / 0.6502 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.00737, allocations: 51.41 kB / 0.6502 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.007452, allocations: 102.1 kB / 0.6503 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.007471, allocations: 25.7 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.007506, allocations: 80.14 kB / 0.6504 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.007531, allocations: 15.89 kB / 0.6504 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.007572, allocations: 21.67 kB / 0.6504 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.007715, allocations: 310.8 kB / 0.6507 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.007768, allocations: 11.98 kB / 0.6507 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.007815, allocations: 12.03 kB / 0.6508 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.007931, allocations: 32.78 kB / 0.6508 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007932, allocations: 3.938 kB / 0.6508 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001494/0.008082, allocations: 61.67 kB / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.008097, allocations: 6.656 kB / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.0081, allocations: 0 / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.008113, allocations: 0 / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.008166, allocations: 8 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.008174, allocations: 3.938 kB / 0.6509 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.008208, allocations: 7.984 kB / 0.6509 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.008213, allocations: 7.938 kB / 0.6509 GB, free: 0.625 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 8.258e-05/0.008296, allocations: 109.8 kB / 0.651 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.008307, allocations: 4 kB / 0.651 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.0085, allocations: 69.3 kB / 0.6511 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008502, allocations: 0 / 0.6511 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.008506, allocations: 0 / 0.6511 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.008511, allocations: 3.938 kB / 0.6511 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.008617, allocations: 109.3 kB / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008618, allocations: 0 / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.008665, allocations: 12 kB / 0.6512 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008666, allocations: 0 / 0.6512 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008673, allocations: 0 / 0.6512 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008676, allocations: 4 kB / 0.6512 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.00868, allocations: 4 kB / 0.6512 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.00885, allocations: 88.98 kB / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.00888, allocations: 0 / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.008892, allocations: 0 / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.008942, allocations: 7.984 kB / 0.6513 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.008975, allocations: 4 kB / 0.6513 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.008982, allocations: 8 kB / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.009027, allocations: 83.2 kB / 0.6514 GB, free: 60 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.009027, allocations: 0 / 0.6514 GB, free: 60 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002372/0.009264, allocations: 35.81 kB / 0.6514 GB, free: 24 kB / 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.2706/0.2799, allocations: 137.3 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.2801, allocations: 30.05 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2801, allocations: 0 / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.274e-05/0.2802, allocations: 12.67 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2804, allocations: 6.906 kB / 0.6516 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.2807, allocations: 120.3 kB / 0.6517 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.2807, allocations: 63.23 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.2807, allocations: 3.562 kB / 0.6518 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.2808, allocations: 13.61 kB / 0.6518 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2808, allocations: 1.594 kB / 0.6518 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.003574/0.2843, allocations: 1.133 MB / 0.6529 GB, free: 56.5 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7799613401293755] Failed to read output from testmodel.py, exit status != 0: 0.29198848083615303 0.30121482199999994 0.29365341899999997 Calling exit ...