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.001014/0.001014, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.002055, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007145/0.0007145, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008782/0.001593, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9341/0.9341, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08836/1.022, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.926/1.926, allocations: 390 MB / 0.6193 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4882/2.414, allocations: 127.1 MB / 0.7435 GB, free: 4.492 MB / 0.7136 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 2.124e-06/2.124e-06, allocations: 0 / 0.7449 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.61e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002294/0.00232, allocations: 0.9166 MB / 0.7458 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003546, allocations: 1.228 MB / 0.747 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.0036, allocations: 6.688 kB / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.003629, allocations: 7.875 kB / 0.747 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.003687, allocations: 21.88 kB / 0.747 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.004047, allocations: 154.4 kB / 0.7472 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.004259, allocations: 158 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004366, allocations: 37.81 kB / 0.7473 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004509, allocations: 103.8 kB / 0.7474 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.004607, allocations: 51.86 kB / 0.7475 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.004631, allocations: 13.38 kB / 0.7475 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.004703, allocations: 19.98 kB / 0.7475 GB, free: 464 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.004729, allocations: 15.94 kB / 0.7475 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.004771, allocations: 31.94 kB / 0.7476 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004926, allocations: 106.2 kB / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.004939, allocations: 0 / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00494, allocations: 0 / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.004954, allocations: 0 / 0.7477 GB, free: 312 kB / 0.7136 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.0006057/0.005559, allocations: 381.7 kB / 0.748 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005592, allocations: 13.25 kB / 0.748 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.005642, allocations: 16.92 kB / 0.7481 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.005814, allocations: 153.5 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005826, allocations: 5.312 kB / 0.7482 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.005859, allocations: 16.38 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.005994, allocations: 83.81 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.006002, allocations: 192 / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.00601, allocations: 384 / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006017, allocations: 8.938 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.738e-05/0.006045, allocations: 25.03 kB / 0.7483 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.006422, allocations: 228 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.006464, allocations: 26.52 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.00648, allocations: 12.8 kB / 0.7486 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.006497, allocations: 4 kB / 0.7486 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.553e-05/0.006593, allocations: 78.5 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.006594, allocations: 0 / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001282/0.006722, allocations: 77.59 kB / 0.7487 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.006751, allocations: 51.41 kB / 0.7488 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.006826, allocations: 148.1 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.006846, allocations: 33.69 kB / 0.749 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.006897, allocations: 108.1 kB / 0.7491 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.006916, allocations: 28.38 kB / 0.7491 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.006965, allocations: 49.08 kB / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.007039, allocations: 326.8 kB / 0.7495 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.007095, allocations: 53.69 kB / 0.7495 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.007183, allocations: 142.8 kB / 0.7496 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.007299, allocations: 172 kB / 0.7498 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.007303, allocations: 7.938 kB / 0.7498 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001661/0.00747, allocations: 202.8 kB / 0.75 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.007505, allocations: 38.28 kB / 0.75 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007511, allocations: 4 kB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.007525, allocations: 5.094 kB / 0.7501 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.007599, allocations: 31.92 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007604, allocations: 5.469 kB / 0.7501 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.998e-05/0.007694, allocations: 31.86 kB / 0.7501 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.007709, allocations: 8 kB / 0.7501 GB, free: 13.52 MB / 0.7292 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 7.018e-05/0.007779, allocations: 134.3 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.00779, allocations: 12.67 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.007813, allocations: 9.406 kB / 0.7503 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.007816, allocations: 8.031 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.007818, allocations: 0.9062 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.007823, allocations: 3.984 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.008094, allocations: 239.2 kB / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008096, allocations: 0.5312 kB / 0.7505 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.008141, allocations: 11.94 kB / 0.7505 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.008152, allocations: 17.62 kB / 0.7505 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008155, allocations: 7.938 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.008165, allocations: 4 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008166, allocations: 0 / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008167, allocations: 0.6875 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.008292, allocations: 188.8 kB / 0.7507 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008305, allocations: 7.984 kB / 0.7507 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.008339, allocations: 0 / 0.7507 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.008371, allocations: 13.77 kB / 0.7508 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.008377, allocations: 4 kB / 0.7508 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.008402, allocations: 30.7 kB / 0.7508 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008402, allocations: 0 / 0.7508 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001731/0.008575, allocations: 31.94 kB / 0.7508 GB, free: 12.77 MB / 0.7292 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 0.0001088/0.008684, allocations: 94.5 kB / 0.7509 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.008849, allocations: 175.5 kB / 0.7511 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.008854, allocations: 0 / 0.7511 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.008891, allocations: 37.33 kB / 0.7511 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.009075, allocations: 140.6 kB / 0.7512 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.009566, allocations: 246.3 kB / 0.7515 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.009601, allocations: 71.69 kB / 0.7516 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.00964, allocations: 11.78 kB / 0.7516 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.00972, allocations: 80.28 kB / 0.7516 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.009721, allocations: 0 / 0.7516 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.003359/0.01308, allocations: 1.837 MB / 0.7534 GB, free: 10.12 MB / 0.7292 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: 4.900230441242456]