Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001525/0.001525, allocations: 82.95 kB / 19.94 MB, free: 1.777 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.002268/0.002268, allocations: 163.4 kB / 23.21 MB, free: 4.902 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.393/1.393, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.9089/0.9089, allocations: 114 MB / 373.9 MB, free: 13.27 MB / 350.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: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.054e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.001579/0.001599, allocations: 0.7442 MB / 0.5554 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.00269, allocations: 0.8899 MB / 0.5563 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.002732, allocations: 0 / 0.5563 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.002767, allocations: 7.875 kB / 0.5563 GB, free: 1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.002845, allocations: 11.86 kB / 0.5563 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.003012, allocations: 39.84 kB / 0.5563 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00313, allocations: 91.75 kB / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.003221, allocations: 19.98 kB / 0.5564 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.003327, allocations: 55.88 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.003405, allocations: 35.94 kB / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.003432, allocations: 8 kB / 0.5565 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.003449, allocations: 11.94 kB / 0.5566 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.003477, allocations: 19.98 kB / 0.5566 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.003519, allocations: 27.91 kB / 0.5566 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003655, allocations: 91.7 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003657, allocations: 0 / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.8e-07/0.003657, allocations: 0 / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.003661, allocations: 0 / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005955/0.004256, allocations: 314.1 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.00429, allocations: 12.62 kB / 0.557 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.004332, allocations: 12.88 kB / 0.557 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.004454, allocations: 121.6 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.004472, allocations: 4.375 kB / 0.5571 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.004491, allocations: 8.375 kB / 0.5571 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.004815, allocations: 109.5 kB / 0.5572 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.004825, allocations: 7.938 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004837, allocations: 4 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.004841, allocations: 0 / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.005229, allocations: 99.89 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.005704, allocations: 272.3 kB / 0.5576 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.006343, allocations: 114.6 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.006542, allocations: 52.81 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.006566, allocations: 7.938 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.00659, allocations: 30.56 kB / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.006591, allocations: 0 / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006893/0.00728, allocations: 189.5 kB / 0.558 GB, free: 15.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.007326, allocations: 51.41 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.007421, allocations: 124.6 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.007443, allocations: 29.7 kB / 0.5582 GB, free: 14.92 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.007499, allocations: 96.08 kB / 0.5583 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.00753, allocations: 23.8 kB / 0.5583 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.007579, allocations: 21.7 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.007738, allocations: 326.8 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.007941, allocations: 47.95 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.00812, allocations: 47.89 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.00848, allocations: 88.78 kB / 0.5588 GB, free: 14.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008481, allocations: 4 kB / 0.5588 GB, free: 14.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000435/0.008916, allocations: 141.5 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.00893, allocations: 8 kB / 0.559 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008934, allocations: 0 / 0.559 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008947, allocations: 0 / 0.559 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.009118, allocations: 23.97 kB / 0.559 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009123, allocations: 8.422 kB / 0.559 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.009239, allocations: 15.98 kB / 0.559 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.009252, allocations: 7.984 kB / 0.559 GB, free: 14.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.71e-05/0.00935, allocations: 125.7 kB / 0.5591 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.009385, allocations: 7.953 kB / 0.5591 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.009866, allocations: 150 kB / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009868, allocations: 0 / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009871, allocations: 0 / 0.5593 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.00988, allocations: 11.98 kB / 0.5593 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.01007, allocations: 141.2 kB / 0.5594 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01007, allocations: 0 / 0.5594 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.01024, allocations: 27.91 kB / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01024, allocations: 0 / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01025, allocations: 4 kB / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01025, allocations: 0 / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01025, allocations: 0 / 0.5595 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.01074, allocations: 239.3 kB / 0.5597 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01076, allocations: 7.953 kB / 0.5597 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.01078, allocations: 0 / 0.5597 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.01092, allocations: 15.97 kB / 0.5597 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.011, allocations: 15.98 kB / 0.5597 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01101, allocations: 7.984 kB / 0.5597 GB, free: 13.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.01107, allocations: 95.27 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01107, allocations: 4 kB / 0.5598 GB, free: 13.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000233/0.0113, allocations: 15.94 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.661e-05/0.01139, allocations: 99.19 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.01183, allocations: 103.9 kB / 0.56 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01183, allocations: 3.938 kB / 0.56 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.01205, allocations: 67.89 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.0123, allocations: 9.656 kB / 0.5601 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.0127, allocations: 177.4 kB / 0.5603 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.01277, allocations: 75.33 kB / 0.5604 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.01282, allocations: 8 kB / 0.5604 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.01289, allocations: 28.42 kB / 0.5604 GB, free: 12.52 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01289, allocations: 0 / 0.5604 GB, free: 12.52 MB / 478.1 MB Notification: Performance of Templates: time 0.004334/0.01722, allocations: 1.703 MB / 0.562 GB, free: 10.85 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.080074097961187] Failed to read output from testmodel.py, exit status != 0: 0.024759776890277863 0.038494211 0.031966348 Calling exit ...