Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0009546/0.0009546, allocations: 80.75 kB / 20.82 MB, free: 3.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.001167/0.001167, allocations: 165 kB / 24.25 MB, free: 212 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.031/1.031, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.964/1.964, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0.5469 kB / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.248e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001407/0.001419, allocations: 0.9157 MB / 0.7763 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002584, allocations: 1.222 MB / 0.7775 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.00263, allocations: 4 kB / 0.7775 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.002688, allocations: 8.75 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.002767, allocations: 21.42 kB / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.00309, allocations: 148.5 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.003256, allocations: 178.9 kB / 0.7779 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.003339, allocations: 33.86 kB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.00346, allocations: 103.8 kB / 0.778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.003539, allocations: 43.86 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.003558, allocations: 12 kB / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.003626, allocations: 27.92 kB / 0.7781 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.003649, allocations: 19.92 kB / 0.7781 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.003692, allocations: 55.8 kB / 0.7782 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.003827, allocations: 119.6 kB / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003829, allocations: 0 / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00383, allocations: 0 / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003833, allocations: 0 / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004131/0.004246, allocations: 358.1 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.004278, allocations: 13.33 kB / 0.7786 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.004312, allocations: 20.92 kB / 0.7786 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004442, allocations: 134.7 kB / 0.7788 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.004454, allocations: 8.938 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.004477, allocations: 19.98 kB / 0.7788 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004587, allocations: 90.03 kB / 0.7789 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004595, allocations: 192 / 0.7789 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004604, allocations: 8.359 kB / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004608, allocations: 384 / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.004631, allocations: 15.94 kB / 0.7789 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.004977, allocations: 232 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.005012, allocations: 22.52 kB / 0.7792 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.005028, allocations: 19.67 kB / 0.7792 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.00504, allocations: 4 kB / 0.7792 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.136e-05/0.005121, allocations: 79.22 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.005122, allocations: 0 / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001162/0.005238, allocations: 81.59 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.005268, allocations: 56.75 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.005338, allocations: 144.8 kB / 0.7795 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.005355, allocations: 33.7 kB / 0.7796 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.005398, allocations: 104 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.005415, allocations: 33.03 kB / 0.7797 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.005465, allocations: 45.67 kB / 0.7797 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.005547, allocations: 326.8 kB / 0.78 GB, free: 436 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.005595, allocations: 54.22 kB / 0.7801 GB, free: 376 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.005674, allocations: 137.8 kB / 0.7802 GB, free: 192 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.005803, allocations: 168.3 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.005807, allocations: 5.656 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001723/0.005979, allocations: 209.7 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.006013, allocations: 38.88 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006018, allocations: 4 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.006031, allocations: 4 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.006096, allocations: 28.42 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.006102, allocations: 4.875 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.006193, allocations: 36.73 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.006206, allocations: 8 kB / 0.7807 GB, free: 15.63 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.786e-05/0.006274, allocations: 126.3 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.006287, allocations: 13.77 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.006312, allocations: 12.78 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.006313, allocations: 0 / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006318, allocations: 7.984 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006321, allocations: 5.125 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.006548, allocations: 238.7 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.00655, allocations: 3.984 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.006593, allocations: 8.969 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006596, allocations: 3.984 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.006604, allocations: 5 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006606, allocations: 0 / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006607, allocations: 3.938 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006725, allocations: 180.3 kB / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.006738, allocations: 19.83 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.00675, allocations: 4.938 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.006785, allocations: 4 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.00681, allocations: 8.828 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.006815, allocations: 4 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.006841, allocations: 36.16 kB / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006841, allocations: 0 / 0.7814 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000152/0.006993, allocations: 28 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.054e-05/0.007084, allocations: 88.97 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.007232, allocations: 167.6 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.007234, allocations: 1.75 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.007265, allocations: 28.78 kB / 0.7817 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.007398, allocations: 31.47 kB / 0.7817 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.007718, allocations: 249.8 kB / 0.7819 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.007754, allocations: 65.53 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.007793, allocations: 15.39 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.007869, allocations: 79.34 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.00787, allocations: 0.7812 kB / 0.7821 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.003281/0.01115, allocations: 1.864 MB / 0.7839 GB, free: 12.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.169542683288455]