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.0007674/0.0007674, allocations: 91.22 kB / 15.36 MB, free: 0.7344 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.004621/0.004621, allocations: 170.9 kB / 16.26 MB, free: 6.68 MB / 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.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 266.5 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004034, allocations: 9.906 kB / 0.5986 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00164/0.1474, allocations: 1.192 MB / 0.6863 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005993/0.148, allocations: 429.7 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.148, allocations: 3.938 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.148, allocations: 3.938 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.1481, allocations: 6.297 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.1482, allocations: 23.92 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.1483, allocations: 43.91 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.1484, allocations: 12 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.1485, allocations: 18.67 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1485, allocations: 23.91 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1486, allocations: 0 / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.1486, allocations: 4 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.1486, allocations: 11.86 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1487, allocations: 45.64 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.1487, allocations: 40.03 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1488, allocations: 1.531 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1488, allocations: 4 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.1488, allocations: 0 / 0.6869 GB, free: 13.23 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.0004425/0.1492, allocations: 358.7 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1493, allocations: 8.031 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1493, allocations: 4.938 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1494, allocations: 172.3 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1494, allocations: 4.375 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1495, allocations: 12.34 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1496, allocations: 62.59 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1496, allocations: 0.6562 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1496, allocations: 0 / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1496, allocations: 1.375 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.1497, allocations: 27.98 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.1502, allocations: 304.9 kB / 0.6878 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.1503, allocations: 54.56 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1503, allocations: 28.94 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1503, allocations: 0 / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.1505, allocations: 84.77 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1505, allocations: 0.75 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002114/0.1507, allocations: 97.61 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1508, allocations: 52.03 kB / 0.6881 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.1508, allocations: 107.8 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1509, allocations: 29.7 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1509, allocations: 92.05 kB / 0.6884 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.151, allocations: 23.62 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.151, allocations: 17.72 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1511, allocations: 330.8 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.1511, allocations: 12 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.1512, allocations: 51.36 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.291e-05/0.1513, allocations: 63.36 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1513, allocations: 4 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.1514, allocations: 93.62 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1515, allocations: 4 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1515, allocations: 7.922 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1515, allocations: 4 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1516, allocations: 12 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1516, allocations: 0 / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.1517, allocations: 15.89 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1517, allocations: 4 kB / 0.689 GB, free: 10.9 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,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 8.68e-05/0.1518, allocations: 135.3 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1518, allocations: 4 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.1518, allocations: 3.969 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1518, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1518, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1518, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1522, allocations: 374.7 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1522, allocations: 3.984 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.1523, allocations: 4 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1523, allocations: 96 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1523, allocations: 3.938 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1523, allocations: 3.938 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1523, allocations: 0 / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1525, allocations: 183.5 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.1525, allocations: 89.02 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1525, allocations: 0 / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.1526, allocations: 11.92 kB / 0.6898 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1527, allocations: 11.98 kB / 0.6898 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1527, allocations: 4 kB / 0.6898 GB, free: 9.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.1527, allocations: 79.28 kB / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1527, allocations: 0 / 0.6898 GB, free: 9.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.153, allocations: 16 kB / 0.6899 GB, free: 9.891 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.199e-05/0.1531, allocations: 107.1 kB / 0.69 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1532, allocations: 55.91 kB / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1532, allocations: 0 / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.1532, allocations: 24 kB / 0.69 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1535, allocations: 17.36 kB / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.1538, allocations: 160.7 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.154, allocations: 0.69 MB / 0.6909 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1541, allocations: 7.938 kB / 0.6909 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.1541, allocations: 11.44 kB / 0.6909 GB, free: 8.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1541, allocations: 0 / 0.6909 GB, free: 8.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002576/0.1567, allocations: 0.6876 MB / 0.6916 GB, free: 8.086 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)