Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0009446/0.0009446, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001734/0.001734, allocations: 173 kB / 24.06 MB, free: 448 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 0.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001593/0.001593, allocations: 239.8 kB / 261.3 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7121/0.7121, allocations: 138.4 MB / 456.3 MB, free: 29.92 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5563 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.462e-05, allocations: 6.625 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001712/0.001726, allocations: 1.539 MB / 0.5578 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.002269, allocations: 458.7 kB / 0.5583 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.002301, allocations: 4 kB / 0.5583 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.002325, allocations: 7.922 kB / 0.5583 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.002393, allocations: 11.88 kB / 0.5583 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.002501, allocations: 19.92 kB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.002564, allocations: 51.83 kB / 0.5583 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.00264, allocations: 11.98 kB / 0.5584 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.002714, allocations: 35.86 kB / 0.5584 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.00277, allocations: 15.95 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.002787, allocations: 4 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.002795, allocations: 4 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.002813, allocations: 15.94 kB / 0.5584 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.002839, allocations: 15.98 kB / 0.5584 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.4e-05/0.002913, allocations: 35.83 kB / 0.5585 GB, free: 13.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002915, allocations: 0 / 0.5585 GB, free: 13.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.002915, allocations: 0 / 0.5585 GB, free: 13.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.002919, allocations: 0 / 0.5585 GB, free: 13.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003161/0.003235, allocations: 384.5 kB / 0.5588 GB, free: 13.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.003265, allocations: 13.94 kB / 0.5589 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003291, allocations: 12.89 kB / 0.5589 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.003359, allocations: 116.5 kB / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.003369, allocations: 12.38 kB / 0.559 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.003379, allocations: 8.359 kB / 0.559 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.912e-05/0.003438, allocations: 42.25 kB / 0.559 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.003443, allocations: 192 / 0.559 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003449, allocations: 384 / 0.559 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003455, allocations: 7.938 kB / 0.5591 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.003478, allocations: 15.92 kB / 0.5591 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.003726, allocations: 268.3 kB / 0.5593 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.003786, allocations: 47.03 kB / 0.5594 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.003808, allocations: 31.8 kB / 0.5594 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.003814, allocations: 0 / 0.5594 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.645e-05/0.00389, allocations: 72.92 kB / 0.5595 GB, free: 12.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.003891, allocations: 0 / 0.5595 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001312/0.004022, allocations: 89.56 kB / 0.5596 GB, free: 12.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.004053, allocations: 51.41 kB / 0.5596 GB, free: 12.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.004142, allocations: 165.9 kB / 0.5598 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.004153, allocations: 29.7 kB / 0.5598 GB, free: 12.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.004193, allocations: 134.9 kB / 0.5599 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.004215, allocations: 31.77 kB / 0.5599 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.004245, allocations: 27.38 kB / 0.56 GB, free: 11.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.004346, allocations: 0.4923 MB / 0.5605 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.00436, allocations: 11.94 kB / 0.5605 GB, free: 11.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.004392, allocations: 50.72 kB / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.004444, allocations: 66.84 kB / 0.5606 GB, free: 11.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004446, allocations: 0 / 0.5606 GB, free: 11.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.013e-05/0.004526, allocations: 85.5 kB / 0.5607 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.004537, allocations: 8 kB / 0.5607 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.00454, allocations: 0 / 0.5607 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004548, allocations: 4 kB / 0.5607 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.004598, allocations: 15.97 kB / 0.5607 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.004602, allocations: 4 kB / 0.5607 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.004637, allocations: 15.92 kB / 0.5607 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.004641, allocations: 0 / 0.5607 GB, free: 11.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.211e-05/0.004703, allocations: 160.6 kB / 0.5609 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.004714, allocations: 15.95 kB / 0.5609 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.004735, allocations: 12.12 kB / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004737, allocations: 0 / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004738, allocations: 0 / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004741, allocations: 0 / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.004954, allocations: 333.9 kB / 0.5612 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004955, allocations: 0 / 0.5612 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.00497, allocations: 11.92 kB / 0.5612 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004971, allocations: 0 / 0.5612 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.004975, allocations: 0 / 0.5612 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004976, allocations: 0 / 0.5612 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004976, allocations: 0 / 0.5612 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.00511, allocations: 227.8 kB / 0.5614 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.00512, allocations: 19.83 kB / 0.5615 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005128, allocations: 0 / 0.5615 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.005164, allocations: 12 kB / 0.5615 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.00519, allocations: 3.984 kB / 0.5615 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.005195, allocations: 4 kB / 0.5615 GB, free: 10.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.005226, allocations: 131.2 kB / 0.5616 GB, free: 10.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005226, allocations: 0 / 0.5616 GB, free: 10.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.005376, allocations: 16 kB / 0.5616 GB, free: 10.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.772e-05/0.005434, allocations: 91.48 kB / 0.5617 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.005511, allocations: 57.31 kB / 0.5618 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005512, allocations: 0 / 0.5618 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.005543, allocations: 35.67 kB / 0.5618 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.005717, allocations: 7.938 kB / 0.5618 GB, free: 9.996 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.005908, allocations: 161.9 kB / 0.5619 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.005939, allocations: 65.09 kB / 0.562 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.005958, allocations: 0 / 0.562 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.006005, allocations: 86.12 kB / 0.5621 GB, free: 9.641 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006006, allocations: 0 / 0.5621 GB, free: 9.641 MB / 490.7 MB Notification: Performance of Templates: time 0.002141/0.008146, allocations: 0.9245 MB / 0.563 GB, free: 8.742 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3819040111266077]