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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 270.6 kB / 291.3 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 15.38 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001471/0.1486, allocations: 1.18 MB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.1492, allocations: 409.8 kB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1493, allocations: 0 / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1493, allocations: 0 / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.1494, allocations: 8.484 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.1495, allocations: 17.11 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.1496, allocations: 51.84 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.1497, allocations: 9.484 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.1498, allocations: 15.94 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.1498, allocations: 19.91 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1498, allocations: 5.25 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.1499, allocations: 0 / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1499, allocations: 11.94 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1499, allocations: 33.69 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.025e-05/0.15, allocations: 35.34 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.15, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.15, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.15, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 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.0005224/0.1505, allocations: 351.2 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1506, allocations: 16.45 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1506, allocations: 4.5 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1507, allocations: 171.4 kB / 0.6867 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1508, allocations: 8 kB / 0.6867 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1508, allocations: 4.562 kB / 0.6867 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1509, allocations: 59.7 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1509, allocations: 0 / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1509, allocations: 4 kB / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1509, allocations: 0 / 0.6868 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.151, allocations: 31.91 kB / 0.6868 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1514, allocations: 303.9 kB / 0.6871 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.1516, allocations: 60.97 kB / 0.6872 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.1516, allocations: 20.92 kB / 0.6872 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1516, allocations: 4 kB / 0.6872 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.1518, allocations: 73.56 kB / 0.6873 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1518, allocations: 0 / 0.6873 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002095/0.152, allocations: 105.5 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.152, allocations: 51.41 kB / 0.6874 GB, free: 12.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.1521, allocations: 106.6 kB / 0.6875 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1521, allocations: 29.69 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.1522, allocations: 88.67 kB / 0.6876 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1522, allocations: 23.73 kB / 0.6877 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.1522, allocations: 0.875 kB / 0.6877 GB, free: 12.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.1523, allocations: 327.3 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.1524, allocations: 13.22 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.1524, allocations: 43.42 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.1525, allocations: 28.84 kB / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1525, allocations: 0 / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001466/0.1526, allocations: 93.52 kB / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1527, allocations: 9.875 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1527, allocations: 3.938 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1527, allocations: 4.328 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.1527, allocations: 15.92 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1528, allocations: 4 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.1528, allocations: 8 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1528, allocations: 11.97 kB / 0.6882 GB, free: 11.43 MB / 494.1 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.1529, allocations: 122.5 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1529, allocations: 3.906 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.153, allocations: 7.969 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.153, allocations: 4 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.153, allocations: 7.891 kB / 0.6883 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.153, allocations: 0 / 0.6883 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1534, allocations: 358.7 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1534, allocations: 0 / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.1534, allocations: 7.984 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1534, allocations: 0 / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1534, allocations: 3.953 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1534, allocations: 4 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1534, allocations: 3.984 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.1536, allocations: 191.4 kB / 0.6889 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.1536, allocations: 77.11 kB / 0.689 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1537, allocations: 4 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.1537, allocations: 15.94 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1538, allocations: 7.984 kB / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1538, allocations: 0 / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.1539, allocations: 83.28 kB / 0.6891 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1539, allocations: 0 / 0.6891 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1541, allocations: 19.91 kB / 0.6891 GB, free: 10.43 MB / 494.1 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 (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 8.433e-05/0.1542, allocations: 105.4 kB / 0.6892 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1543, allocations: 55.91 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1543, allocations: 192 / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.1544, allocations: 27.94 kB / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1546, allocations: 16.89 kB / 0.6893 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.1549, allocations: 160.6 kB / 0.6894 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1552, allocations: 0.69 MB / 0.6901 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.1552, allocations: 7.938 kB / 0.6901 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1552, allocations: 11.44 kB / 0.6901 GB, free: 9.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1552, allocations: 0 / 0.6901 GB, free: 9.305 MB / 494.1 MB Notification: Performance of Templates: time 0.002555/0.1578, allocations: 0.6586 MB / 0.6908 GB, free: 8.652 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)