Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.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.0006499/0.0006499, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001572, 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.0006966/0.0006966, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008779/0.001575, 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.9378/0.9378, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08475/1.023, 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.878/1.878, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4973/2.375, allocations: 127.1 MB / 0.7435 GB, free: 4.547 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7448 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.202e-05, allocations: 2.859 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.005969/0.005991, allocations: 1.892 MB / 0.7467 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.006993, allocations: 0.5809 MB / 0.7472 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.007095, allocations: 8.531 kB / 0.7472 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.402e-05/0.007189, allocations: 26.55 kB / 0.7473 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.007266, allocations: 29.38 kB / 0.7473 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.007454, allocations: 68.75 kB / 0.7474 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.007682, allocations: 174.7 kB / 0.7475 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.007802, allocations: 34.98 kB / 0.7476 GB, free: 464 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.007953, allocations: 99.77 kB / 0.7477 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.008027, allocations: 36.47 kB / 0.7477 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.008056, allocations: 12 kB / 0.7477 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.008076, allocations: 8.656 kB / 0.7477 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.008108, allocations: 24.44 kB / 0.7477 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.008151, allocations: 31.88 kB / 0.7478 GB, free: 252 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.00832, allocations: 97.08 kB / 0.7479 GB, free: 156 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.008333, allocations: 0 / 0.7479 GB, free: 156 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.008334, allocations: 0 / 0.7479 GB, free: 156 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.008344, allocations: 0 / 0.7479 GB, free: 156 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000581/0.008925, allocations: 401.7 kB / 0.7482 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.00896, allocations: 12.03 kB / 0.7483 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.009008, allocations: 20.92 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.00922, allocations: 171.9 kB / 0.7484 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.009232, allocations: 8.375 kB / 0.7484 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.009268, allocations: 16.36 kB / 0.7485 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.009463, allocations: 135.1 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.009471, allocations: 1.938 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.009486, allocations: 12.36 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.009495, allocations: 7.938 kB / 0.7486 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.009549, allocations: 23.92 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.01016, allocations: 0.5691 MB / 0.7492 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.01024, allocations: 30.45 kB / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.01026, allocations: 23.59 kB / 0.7492 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.01028, allocations: 0 / 0.7492 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.01041, allocations: 106.9 kB / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.01041, allocations: 0 / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001858/0.0106, allocations: 93.52 kB / 0.7494 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.01067, allocations: 132.5 kB / 0.7496 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.01081, allocations: 186.4 kB / 0.7497 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.01083, allocations: 29.69 kB / 0.7498 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.0109, allocations: 115.9 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01093, allocations: 47.66 kB / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.01099, allocations: 37.69 kB / 0.75 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.0111, allocations: 334.7 kB / 0.7503 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.01112, allocations: 8 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.01123, allocations: 121.2 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.01137, allocations: 164.3 kB / 0.7506 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01137, allocations: 0 / 0.7506 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001424/0.01152, allocations: 137.2 kB / 0.7507 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01153, allocations: 13.97 kB / 0.7507 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01154, allocations: 4 kB / 0.7507 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01155, allocations: 4.5 kB / 0.7507 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.01165, allocations: 40.67 kB / 0.7507 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01165, allocations: 7.984 kB / 0.7508 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.01171, allocations: 17.48 kB / 0.7508 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.01172, allocations: 12 kB / 0.7508 GB, free: 12.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.232e-05/0.0118, allocations: 130.3 kB / 0.7509 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.01182, allocations: 12.86 kB / 0.7509 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.01185, allocations: 25.39 kB / 0.7509 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01186, allocations: 9.188 kB / 0.7509 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01186, allocations: 0 / 0.7509 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01186, allocations: 0 / 0.7509 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.01227, allocations: 351.6 kB / 0.7513 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.01227, allocations: 0 / 0.7513 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.01235, allocations: 19.92 kB / 0.7513 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01238, allocations: 15.91 kB / 0.7513 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01238, allocations: 4 kB / 0.7513 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.0124, allocations: 1.219 kB / 0.7513 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.0124, allocations: 4 kB / 0.7513 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.0124, allocations: 4.25 kB / 0.7513 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01263, allocations: 279.5 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01266, allocations: 5.172 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01278, allocations: 19.97 kB / 0.7516 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.01283, allocations: 11.92 kB / 0.7516 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01283, allocations: 4.797 kB / 0.7516 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.01289, allocations: 55.64 kB / 0.7517 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01289, allocations: 0.5 kB / 0.7517 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003007/0.01319, allocations: 33.67 kB / 0.7517 GB, free: 11.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001161/0.01331, allocations: 84.42 kB / 0.7518 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01345, allocations: 84.22 kB / 0.7519 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.01346, allocations: 0 / 0.7519 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.01351, allocations: 32.78 kB / 0.7519 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.01402, allocations: 401.8 kB / 0.7523 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/0.01488, allocations: 328.9 kB / 0.7526 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.01495, allocations: 75.92 kB / 0.7527 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.429e-05/0.01504, allocations: 19.23 kB / 0.7527 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.01516, allocations: 84.23 kB / 0.7528 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of SimCode: time 1.322e-06/0.01516, allocations: 0 / 0.7528 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.01073/0.02588, allocations: 2.217 MB / 0.7549 GB, free: 8.555 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.81849658023566]