Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.812/1.812, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008277, allocations: 95.3 kB / 0.7808 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005687/0.0005688, allocations: 15.94 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7203, allocations: 120.3 MB / 1.026 GB, free: 56.42 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.9068, allocations: 143.2 MB / 1.166 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.9071, allocations: 67.97 kB / 1.166 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008993/0.9161, allocations: 3.543 MB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9161, allocations: 4 kB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.9162, allocations: 4 kB / 1.17 GB, free: 11.5 MB / 0.7448 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.0005903/0.9168, allocations: 459.4 kB / 1.17 GB, free: 11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.9168, allocations: 8.031 kB / 1.17 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.9169, allocations: 20.66 kB / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.9171, allocations: 233.2 kB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.9172, allocations: 9.781 kB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.9172, allocations: 12.38 kB / 1.17 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.9175, allocations: 160.4 kB / 1.17 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.9175, allocations: 192 / 1.17 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.9176, allocations: 11.94 kB / 1.171 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9176, allocations: 0 / 1.171 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.9178, allocations: 75.89 kB / 1.171 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.9188, allocations: 0.7653 MB / 1.171 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.919, allocations: 50.48 kB / 1.171 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.9191, allocations: 48.83 kB / 1.171 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.9191, allocations: 0 / 1.171 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.9194, allocations: 128 kB / 1.172 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.9194, allocations: 0 / 1.172 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004452/0.9199, allocations: 185.5 kB / 1.172 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.92, allocations: 136.5 kB / 1.172 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.9201, allocations: 203.4 kB / 1.172 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9202, allocations: 33.7 kB / 1.172 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.9203, allocations: 127.8 kB / 1.172 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.9203, allocations: 35.52 kB / 1.172 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.9203, allocations: 4 kB / 1.172 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9204, allocations: 326.8 kB / 1.173 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.9206, allocations: 47.97 kB / 1.173 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.9207, allocations: 144.6 kB / 1.173 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.9211, allocations: 218.3 kB / 1.173 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9211, allocations: 7.938 kB / 1.173 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003756/0.9215, allocations: 213.3 kB / 1.173 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9215, allocations: 8 kB / 1.173 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.9215, allocations: 7.984 kB / 1.173 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.9215, allocations: 4 kB / 1.173 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.9217, allocations: 35.92 kB / 1.173 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9217, allocations: 8.25 kB / 1.173 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.9218, allocations: 31.83 kB / 1.173 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.9219, allocations: 11.94 kB / 1.173 GB, free: 7.41 MB / 0.7448 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 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.922, allocations: 141.6 kB / 1.173 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.922, allocations: 23.52 kB / 1.173 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.9221, allocations: 17.41 kB / 1.173 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9221, allocations: 3.984 kB / 1.173 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9221, allocations: 8 kB / 1.173 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9221, allocations: 0 / 1.173 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.9228, allocations: 0.5288 MB / 1.174 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9228, allocations: 0 / 1.174 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.923, allocations: 19.92 kB / 1.174 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.923, allocations: 4 kB / 1.174 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.923, allocations: 0 / 1.174 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.923, allocations: 4 kB / 1.174 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.923, allocations: 0 / 1.174 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.9235, allocations: 386.9 kB / 1.174 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.9236, allocations: 88.92 kB / 1.174 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.9236, allocations: 8.344 kB / 1.174 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.9238, allocations: 23.98 kB / 1.174 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.9238, allocations: 11.92 kB / 1.174 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.9238, allocations: 8 kB / 1.174 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001025/0.9239, allocations: 144.4 kB / 1.175 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9239, allocations: 0 / 1.175 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003082/0.9243, allocations: 28 kB / 1.175 GB, free: 5.871 MB / 0.7448 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,intWitRes1.trigger,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.9244, allocations: 113.5 kB / 1.175 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.9248, allocations: 123.8 kB / 1.175 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9248, allocations: 0 / 1.175 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.9249, allocations: 56.97 kB / 1.175 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.9255, allocations: 58.91 kB / 1.175 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.926, allocations: 387.2 kB / 1.175 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.9264, allocations: 0.7245 MB / 1.176 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.9264, allocations: 14.81 kB / 1.176 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.9265, allocations: 19.42 kB / 1.176 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9265, allocations: 4 kB / 1.176 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of Templates: time 0.004274/0.9308, allocations: 1.765 MB / 1.178 GB, free: 2.605 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)