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.0007434/0.0007434, allocations: 84.44 kB / 20.69 MB, free: 3.859 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.0007398/0.0007398, allocations: 165.9 kB / 23.97 MB, free: 0.5859 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.8718/0.8718, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.5718/0.5718, allocations: 114 MB / 374.7 MB, free: 8.688 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: 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 2.364e-06/2.364e-06, allocations: 0 / 0.5554 GB, free: 1.203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.927e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.199 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.00188/0.001909, allocations: 0.7576 MB / 0.5562 GB, free: 456 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003065, allocations: 0.8938 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.003115, allocations: 0 / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.003155, allocations: 3.938 kB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.003244, allocations: 11.86 kB / 0.557 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.003447, allocations: 47.83 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003568, allocations: 87.77 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003688, allocations: 19.97 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.003797, allocations: 51.89 kB / 0.5572 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.003882, allocations: 35.94 kB / 0.5573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.003916, allocations: 8 kB / 0.5573 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.003931, allocations: 8 kB / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.003959, allocations: 23.91 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.003995, allocations: 23.92 kB / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.00415, allocations: 91.7 kB / 0.5574 GB, free: 15.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004153, allocations: 0 / 0.5574 GB, free: 15.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004154, allocations: 0 / 0.5574 GB, free: 15.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004159, allocations: 7.938 kB / 0.5574 GB, free: 15.12 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005489/0.004708, allocations: 314.1 kB / 0.5577 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.004747, allocations: 12.62 kB / 0.5577 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.004789, allocations: 8.891 kB / 0.5577 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.004908, allocations: 121.7 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.004927, allocations: 4.375 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.004944, allocations: 4.375 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.005213, allocations: 110.2 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.005225, allocations: 3.938 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.005241, allocations: 4 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.005246, allocations: 0 / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.00553, allocations: 103.8 kB / 0.5581 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.006003, allocations: 276.3 kB / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.006528, allocations: 118.5 kB / 0.5585 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.006675, allocations: 48.81 kB / 0.5585 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.006706, allocations: 4 kB / 0.5585 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006731, allocations: 34.56 kB / 0.5585 GB, free: 13.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.006733, allocations: 3.938 kB / 0.5585 GB, free: 13.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.000528/0.007261, allocations: 181.5 kB / 0.5587 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.007304, allocations: 59.33 kB / 0.5588 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.007392, allocations: 117.8 kB / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.007405, allocations: 25.7 kB / 0.5589 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.007457, allocations: 96.08 kB / 0.559 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.007483, allocations: 23.8 kB / 0.559 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.007521, allocations: 21.7 kB / 0.559 GB, free: 13.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.007609, allocations: 326.8 kB / 0.5594 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.007708, allocations: 47.94 kB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.0078, allocations: 47.94 kB / 0.5595 GB, free: 12.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.007994, allocations: 97.25 kB / 0.5595 GB, free: 12.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007996, allocations: 4 kB / 0.5595 GB, free: 12.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002247/0.008221, allocations: 137.5 kB / 0.5597 GB, free: 12.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.008236, allocations: 11.94 kB / 0.5597 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00824, allocations: 0 / 0.5597 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.008254, allocations: 0 / 0.5597 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.008351, allocations: 23.97 kB / 0.5597 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.008356, allocations: 0 / 0.5597 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.008409, allocations: 15.98 kB / 0.5597 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.008419, allocations: 7.984 kB / 0.5597 GB, free: 12.59 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: 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 6.643e-05/0.008485, allocations: 113.8 kB / 0.5598 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.008503, allocations: 15.89 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.008775, allocations: 154 kB / 0.56 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008778, allocations: 7.984 kB / 0.56 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.008783, allocations: 0 / 0.56 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.008785, allocations: 0 / 0.56 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.00891, allocations: 137.2 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008911, allocations: 0 / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.008982, allocations: 23.97 kB / 0.5602 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.008986, allocations: 7.984 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.008995, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008996, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008997, allocations: 0 / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.00925, allocations: 235.3 kB / 0.5604 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.009262, allocations: 7.953 kB / 0.5604 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.009276, allocations: 4 kB / 0.5604 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.009342, allocations: 11.98 kB / 0.5604 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.009404, allocations: 23.91 kB / 0.5604 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.00941, allocations: 7.984 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.009449, allocations: 95.27 kB / 0.5605 GB, free: 11.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009449, allocations: 4 kB / 0.5605 GB, free: 11.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000159/0.009608, allocations: 23.88 kB / 0.5606 GB, free: 11.67 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: 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 9.162e-05/0.0097, allocations: 91.25 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.009944, allocations: 99.89 kB / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009945, allocations: 0 / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01005, allocations: 67.88 kB / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01028, allocations: 14.28 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.01064, allocations: 203.1 kB / 0.561 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.01068, allocations: 71.33 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.01074, allocations: 20.48 kB / 0.5611 GB, free: 11.05 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01074, allocations: 4 kB / 0.5611 GB, free: 11.05 MB / 490.7 MB Notification: Performance of Templates: time 0.001954/0.01269, allocations: 1.264 MB / 0.5624 GB, free: 9.793 MB / 490.7 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: 4.756596954539418] Failed to read output from testmodel.py, exit status != 0: 0.01924388576298952 0.026677743 0.020870676 Calling exit ...