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.002538/0.002538, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.002948/0.002948, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.672/1.672, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.28/3.28, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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.264e-06/2.264e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.266e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002214/0.002247, allocations: 0.8476 MB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.004163, allocations: 1.197 MB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.004234, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.004276, allocations: 7.875 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.00436, allocations: 15.81 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.004947, allocations: 162.2 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.005211, allocations: 167.6 kB / 1.004 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.005354, allocations: 29.23 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.005529, allocations: 95.84 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005661, allocations: 51.86 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.005703, allocations: 16 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.005782, allocations: 23.98 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.005825, allocations: 27.84 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.005916, allocations: 59.88 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.006218, allocations: 187.4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.006221, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006222, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006227, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 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.000826/0.007053, allocations: 414 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.007093, allocations: 13.34 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.007156, allocations: 12.89 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.007777, allocations: 201.6 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.007803, allocations: 8.375 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.007851, allocations: 12.38 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.008138, allocations: 97 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.00815, allocations: 192 / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.008166, allocations: 384 / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.008176, allocations: 4.125 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.008379, allocations: 51.95 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.009253, allocations: 308.2 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.009397, allocations: 34.56 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.00951, allocations: 24.97 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.009537, allocations: 3.984 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.009792, allocations: 99.3 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.009794, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0004826/0.01028, allocations: 137.8 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.01033, allocations: 51.41 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.0105, allocations: 147.8 kB / 1.006 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.01053, allocations: 29.8 kB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.01065, allocations: 124 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.01068, allocations: 23.81 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.01077, allocations: 53.69 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.01096, allocations: 322.8 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.01117, allocations: 77.66 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.01146, allocations: 172.8 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.01186, allocations: 204.6 kB / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01186, allocations: 0 / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000572/0.01244, allocations: 268.7 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.01248, allocations: 40.14 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.01249, allocations: 4 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.01251, allocations: 4 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01263, allocations: 31.91 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.01264, allocations: 4.375 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.01288, allocations: 43.86 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.01291, allocations: 19.97 kB / 1.007 GB, free: 6.824 MB / 0.9636 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 0.0001432/0.01305, allocations: 129.7 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.01308, allocations: 11.95 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01312, allocations: 16.77 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01312, allocations: 0 / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01312, allocations: 0 / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01313, allocations: 4 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.01375, allocations: 341.9 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.01375, allocations: 4 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.01384, allocations: 8 kB / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01384, allocations: 0 / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01386, allocations: 7.922 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01386, allocations: 4 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01386, allocations: 0 / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.01449, allocations: 247.3 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.01452, allocations: 19.94 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.01453, allocations: 0 / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.01463, allocations: 4 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.01468, allocations: 15.97 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01469, allocations: 7.938 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.01478, allocations: 105.7 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 0 / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002888/0.01507, allocations: 32 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0002175/0.01529, allocations: 107.2 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.01573, allocations: 201 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01574, allocations: 0 / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01587, allocations: 32.73 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.01617, allocations: 20.08 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.01677, allocations: 249.7 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.01689, allocations: 105.5 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.01696, allocations: 16.64 kB / 1.009 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.01699, allocations: 16.5 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.01699, allocations: 0 / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of Templates: time 0.00584/0.02283, allocations: 1.738 MB / 1.01 GB, free: 3.324 MB / 0.9636 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: 9.252318901009858]