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.0009433/0.0009433, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00101/0.00101, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.7151/0.7151, allocations: 115 MB / 376 MB, free: 7.516 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.044e-06/2.044e-06, allocations: 0 / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.622e-05, allocations: 3.219 kB / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.001486/0.001512, allocations: 0.7649 MB / 482.7 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002649, allocations: 0.9078 MB / 483.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.002712, allocations: 1.094 kB / 483.6 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.002751, allocations: 4.719 kB / 483.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.002855, allocations: 11.12 kB / 483.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.00305, allocations: 50.83 kB / 483.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003154, allocations: 78.53 kB / 483.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003266, allocations: 22.61 kB / 483.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.003387, allocations: 48.08 kB / 483.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.003461, allocations: 43.05 kB / 483.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.003491, allocations: 7.375 kB / 483.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.003509, allocations: 8.25 kB / 483.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.003537, allocations: 27.94 kB / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.003573, allocations: 25.03 kB / 484 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003695, allocations: 65.06 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003697, allocations: 1 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003698, allocations: 0.6875 kB / 484 MB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.003703, allocations: 0 / 484 MB, free: 10.46 MB / 410.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.0003742/0.004077, allocations: 408.7 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.004119, allocations: 10.66 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.004157, allocations: 15.7 kB / 484.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.004234, allocations: 120.7 kB / 484.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.004257, allocations: 5.156 kB / 484.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004272, allocations: 12.59 kB / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004432, allocations: 85.78 kB / 484.7 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.004441, allocations: 4.5 kB / 484.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.004452, allocations: 4.562 kB / 484.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004458, allocations: 2.219 kB / 484.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.004509, allocations: 21.19 kB / 484.7 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.004831, allocations: 305.2 kB / 485 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.005073, allocations: 72.12 kB / 485.1 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.005103, allocations: 22.62 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.005125, allocations: 3.844 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005144, allocations: 34.83 kB / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.005145, allocations: 0 / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001765/0.005322, allocations: 81.47 kB / 485.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.005342, allocations: 52.78 kB / 485.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.005406, allocations: 189.9 kB / 485.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.005415, allocations: 25.7 kB / 485.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.00566, allocations: 142 kB / 485.6 MB, free: 25.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.005682, allocations: 22.06 kB / 485.6 MB, free: 25.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.005717, allocations: 32 kB / 485.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005836, allocations: 0.4901 MB / 486.2 MB, free: 24.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.005869, allocations: 5.281 kB / 486.2 MB, free: 24.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.005891, allocations: 11.22 kB / 486.2 MB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.046e-05/0.005952, allocations: 50.77 kB / 486.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005954, allocations: 2.281 kB / 486.2 MB, free: 24.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.006057, allocations: 61.53 kB / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.006073, allocations: 6.562 kB / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006077, allocations: 0 / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.006095, allocations: 1.094 kB / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.006183, allocations: 22.03 kB / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006188, allocations: 0 / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.006232, allocations: 12.98 kB / 486.3 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.006242, allocations: 9.266 kB / 486.3 MB, free: 24.41 MB / 426.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 8.113e-05/0.006323, allocations: 164.1 kB / 486.5 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.006345, allocations: 11.89 kB / 486.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.006484, allocations: 80.52 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.006487, allocations: 1.312 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006489, allocations: 1.031 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006493, allocations: 1.375 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006599, allocations: 119.5 kB / 486.7 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.006602, allocations: 1.844 kB / 486.7 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.006661, allocations: 24.05 kB / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.006663, allocations: 1.938 kB / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.006671, allocations: 1.031 kB / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006672, allocations: 1.094 kB / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006673, allocations: 0 / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.006806, allocations: 230.7 kB / 487 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.006818, allocations: 15.17 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006829, allocations: 2.344 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.006877, allocations: 3.656 kB / 487 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.00693, allocations: 27.88 kB / 487 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.006936, allocations: 2 kB / 487 MB, free: 23.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.006984, allocations: 137 kB / 487.1 MB, free: 23.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006984, allocations: 0 / 487.1 MB, free: 23.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001494/0.007134, allocations: 15.34 kB / 487.2 MB, free: 23.7 MB / 426.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 7.896e-05/0.007213, allocations: 92.91 kB / 487.3 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.947e-05/0.007312, allocations: 44.78 kB / 487.3 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007314, allocations: 2.188 kB / 487.3 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.007365, allocations: 36.53 kB / 487.3 MB, free: 23.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.007558, allocations: 9.625 kB / 487.3 MB, free: 23.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.00784, allocations: 182.5 kB / 487.5 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.007874, allocations: 57.08 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.007921, allocations: 14.16 kB / 487.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.008005, allocations: 86.72 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/0.008006, allocations: 1.219 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of Templates: time 0.003716/0.01172, allocations: 1.841 MB / 489.5 MB, free: 23.15 MB / 426.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.514716766308993]