Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001767/0.001767, allocations: 193 kB / 16.13 MB, free: 6.66 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 290.5 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 93.83 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1427, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002486/0.1452, allocations: 1.516 MB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.1459, allocations: 439.5 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1459, allocations: 0 / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.1459, allocations: 0 / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.146, allocations: 7.922 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.1462, allocations: 16 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.1462, allocations: 47.89 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1463, allocations: 23.91 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.1464, allocations: 19.94 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.1465, allocations: 23.91 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1465, allocations: 4 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1465, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1465, allocations: 11.94 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.1466, allocations: 23.91 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.1467, allocations: 40.05 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1467, allocations: 0 / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1467, allocations: 0 / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1467, allocations: 0 / 0.6815 GB, free: 15.03 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.0004647/0.1472, allocations: 367.4 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1472, allocations: 8.031 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.1472, allocations: 12.83 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1474, allocations: 172.3 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1474, allocations: 384 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1474, allocations: 4.375 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1475, allocations: 61.98 kB / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1475, allocations: 0 / 0.6821 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1475, allocations: 8 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1475, allocations: 3.938 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.1476, allocations: 27.92 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.148, allocations: 296.7 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1482, allocations: 50.56 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.1482, allocations: 36.97 kB / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1482, allocations: 0 / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1484, allocations: 75.36 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1484, allocations: 0 / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002058/0.1486, allocations: 93.62 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1487, allocations: 59.39 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.1487, allocations: 109.8 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1488, allocations: 29.7 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.1488, allocations: 88.12 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1488, allocations: 23.66 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1489, allocations: 25.7 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.149, allocations: 318.8 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.1491, allocations: 19.98 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1491, allocations: 59.23 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.1492, allocations: 67.56 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1492, allocations: 0 / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.1494, allocations: 93.59 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1494, allocations: 8 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1494, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1494, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1495, allocations: 20.02 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1495, allocations: 7.938 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.1496, allocations: 7.906 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1496, allocations: 4.375 kB / 0.6836 GB, free: 12.67 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.785e-05/0.1497, allocations: 123.1 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.1497, allocations: 7.984 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.1497, allocations: 3.969 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1497, allocations: 3.938 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1497, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1497, allocations: 4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1501, allocations: 370.3 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1501, allocations: 0 / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.1502, allocations: 4 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1502, allocations: 3.938 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1502, allocations: 3.984 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1502, allocations: 3.938 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1502, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1504, allocations: 183.5 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1504, allocations: 89 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1504, allocations: 0 / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1505, allocations: 7.938 kB / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1506, allocations: 11.98 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1506, allocations: 0 / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.1506, allocations: 83.27 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1506, allocations: 8 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1509, allocations: 15.94 kB / 0.6845 GB, free: 11.66 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.859e-05/0.151, allocations: 95.25 kB / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1511, allocations: 59.98 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1511, allocations: 0 / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.1512, allocations: 28.11 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1514, allocations: 13.89 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1518, allocations: 177.4 kB / 0.6848 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1521, allocations: 0.6861 MB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.891e-05/0.1521, allocations: 12.34 kB / 0.6855 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1522, allocations: 11.44 kB / 0.6855 GB, free: 10.53 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1522, allocations: 4 kB / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of Templates: time 0.002527/0.1547, allocations: 0.6891 MB / 0.6862 GB, free: 9.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)