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.0008939/0.0008938, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005692/0.005692, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 274.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 14.64 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001376/0.1412, allocations: 1.185 MB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.1418, allocations: 419.6 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1418, allocations: 2.594 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1419, allocations: 3.984 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.1419, allocations: 7.922 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.1421, allocations: 19.98 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.1422, allocations: 47.86 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.1423, allocations: 16.48 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.1423, allocations: 12.44 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.1424, allocations: 24.92 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1424, allocations: 0 / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.1424, allocations: 4 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1424, allocations: 9.562 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1425, allocations: 45.62 kB / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.452e-05/0.1426, allocations: 44.03 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1426, allocations: 4 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1426, allocations: 0.75 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1426, allocations: 0 / 0.6869 GB, free: 13.26 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.0004172/0.143, allocations: 357.6 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.143, allocations: 12.03 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.1431, allocations: 0.9375 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1432, allocations: 184.8 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1432, allocations: 7 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.1432, allocations: 8.375 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1433, allocations: 57.98 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1434, allocations: 0 / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1434, allocations: 0 / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1434, allocations: 4 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.1434, allocations: 27.92 kB / 0.6875 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.1439, allocations: 308.3 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.144, allocations: 55.22 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1441, allocations: 22.36 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1441, allocations: 4 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.1442, allocations: 75.94 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1442, allocations: 4 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002024/0.1444, allocations: 101.6 kB / 0.6881 GB, free: 11.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1445, allocations: 51.41 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.1446, allocations: 101.9 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1446, allocations: 33.69 kB / 0.6883 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.1446, allocations: 88.05 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1447, allocations: 27.64 kB / 0.6884 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1447, allocations: 21.7 kB / 0.6884 GB, free: 11.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.1448, allocations: 322.8 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1448, allocations: 20.3 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.1449, allocations: 51.36 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.145, allocations: 63.38 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.145, allocations: 0 / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001341/0.1451, allocations: 97.83 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1451, allocations: 6.188 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1452, allocations: 4 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1452, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.1452, allocations: 11.98 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1452, allocations: 3.938 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.1453, allocations: 15.91 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1453, allocations: 7.984 kB / 0.689 GB, free: 10.91 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 7.434e-05/0.1454, allocations: 123.1 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.1454, allocations: 7.984 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.1455, allocations: 7.969 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1455, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1455, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1455, allocations: 4 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.1458, allocations: 362.3 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1459, allocations: 8.062 kB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.1459, allocations: 7.938 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1459, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1459, allocations: 7.984 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1459, allocations: 3.938 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1459, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1461, allocations: 175.5 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1461, allocations: 89 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1461, allocations: 4 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.1462, allocations: 11.94 kB / 0.6897 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1463, allocations: 7.984 kB / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1463, allocations: 0 / 0.6897 GB, free: 10.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.629e-05/0.1463, allocations: 87.27 kB / 0.6898 GB, free: 9.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1463, allocations: 192 / 0.6898 GB, free: 9.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1466, allocations: 16 kB / 0.6898 GB, free: 9.91 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.005e-05/0.1467, allocations: 107.1 kB / 0.6899 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1468, allocations: 51.92 kB / 0.69 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1468, allocations: 0 / 0.69 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.1468, allocations: 27.92 kB / 0.69 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1471, allocations: 15.98 kB / 0.69 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.1475, allocations: 176.8 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1477, allocations: 0.6861 MB / 0.6909 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.858e-05/0.1477, allocations: 7.938 kB / 0.6909 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.1478, allocations: 19.42 kB / 0.6909 GB, free: 8.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1478, allocations: 0 / 0.6909 GB, free: 8.766 MB / 494.1 MB Notification: Performance of Templates: time 0.002498/0.1503, allocations: 0.6816 MB / 0.6916 GB, free: 8.094 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)