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.0016/0.0016, allocations: 106.8 kB / 16.37 MB, free: 6.48 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.001839/0.001839, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 288.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001748, allocations: 91.39 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1353, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002314/0.1377, allocations: 1.454 MB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.1383, allocations: 450.8 kB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.1383, allocations: 0 / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.1384, allocations: 3.938 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.1384, allocations: 7.922 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.1386, allocations: 23.92 kB / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.1386, allocations: 55.83 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.1387, allocations: 16 kB / 0.6835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.1388, allocations: 19.92 kB / 0.6836 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1389, allocations: 27.84 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1389, allocations: 4 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1389, allocations: 4 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.1389, allocations: 8 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.139, allocations: 27.84 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.1391, allocations: 39.83 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1391, allocations: 0 / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1391, allocations: 0 / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1391, allocations: 4 kB / 0.6837 GB, free: 5.297 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.0004196/0.1395, allocations: 359.4 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1395, allocations: 8.031 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1396, allocations: 4.938 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1397, allocations: 172.2 kB / 0.6842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1397, allocations: 8.375 kB / 0.6842 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1397, allocations: 4.375 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1398, allocations: 61.98 kB / 0.6843 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1399, allocations: 4 kB / 0.6843 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1399, allocations: 7.938 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1399, allocations: 4 kB / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.1399, allocations: 23.98 kB / 0.6843 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1404, allocations: 300.7 kB / 0.6846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.1405, allocations: 50.56 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.1405, allocations: 28.94 kB / 0.6847 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1405, allocations: 8.031 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.1407, allocations: 79.22 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1407, allocations: 0 / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000196/0.1409, allocations: 93.62 kB / 0.6848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.1409, allocations: 55.39 kB / 0.6849 GB, free: 3.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.141, allocations: 117.8 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.141, allocations: 25.7 kB / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1411, allocations: 92.12 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1411, allocations: 23.66 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1411, allocations: 25.7 kB / 0.6852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.1412, allocations: 318.8 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.1413, allocations: 19.98 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.1413, allocations: 52.12 kB / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.1414, allocations: 59.44 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1414, allocations: 3.938 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.1415, allocations: 89.61 kB / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1416, allocations: 8 kB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1416, allocations: 0 / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1416, allocations: 0 / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.1417, allocations: 16.03 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1417, allocations: 7.984 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.1417, allocations: 7.906 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1418, allocations: 7.938 kB / 0.6857 GB, free: 2.945 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.253e-05/0.1418, allocations: 121.7 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1419, allocations: 4 kB / 0.6859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.1419, allocations: 11.95 kB / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1419, allocations: 0 / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1419, allocations: 4 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1419, allocations: 0 / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.1423, allocations: 366.7 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1423, allocations: 8 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1423, allocations: 96 / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1423, allocations: 7.938 kB / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1423, allocations: 0 / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1423, allocations: 11.86 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1424, allocations: 0 / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1425, allocations: 175.5 kB / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.1425, allocations: 89.28 kB / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1426, allocations: 0 / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1426, allocations: 11.88 kB / 0.6865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1427, allocations: 11.98 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1427, allocations: 3.984 kB / 0.6865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.1427, allocations: 87.27 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1428, allocations: 4 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.143, allocations: 12 kB / 0.6866 GB, free: 1.934 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 7.599e-05/0.1431, allocations: 99.25 kB / 0.6867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1432, allocations: 47.92 kB / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1432, allocations: 0 / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.1433, allocations: 35.92 kB / 0.6868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1435, allocations: 6.5 kB / 0.6868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.1439, allocations: 165.6 kB / 0.687 GB, free: 1.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1441, allocations: 0.6815 MB / 0.6876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.1441, allocations: 12.2 kB / 0.6876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1442, allocations: 11.44 kB / 0.6876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1442, allocations: 0 / 0.6876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Templates: time 0.00257/0.1467, allocations: 0.782 MB / 0.6884 GB, free: 48 kB / 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)