Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001714/0.001714, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002255/0.002255, allocations: 198.5 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 69.27 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003415/0.2405, allocations: 1.523 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.2414, allocations: 480.8 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.2415, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.2416, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.2417, allocations: 11.91 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.2419, allocations: 15.98 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.242, allocations: 59.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2421, allocations: 15.97 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.2422, allocations: 19.92 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.2423, allocations: 19.91 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.2423, allocations: 4 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2423, allocations: 4 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2423, allocations: 7.984 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2424, allocations: 19.88 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.2425, allocations: 36.17 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2425, allocations: 7.984 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2425, allocations: 0 / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2425, allocations: 4 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB 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.0005056/0.243, allocations: 359.4 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2431, allocations: 12.02 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.2431, allocations: 8.844 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2433, allocations: 176.2 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2433, allocations: 384 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2433, allocations: 12.38 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2434, allocations: 65.92 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2434, allocations: 3.938 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2435, allocations: 4 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2435, allocations: 0 / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.2435, allocations: 23.98 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.244, allocations: 304.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2442, allocations: 58.59 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.2442, allocations: 20.95 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2442, allocations: 0 / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2444, allocations: 71.38 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 8.696e-06/0.2444, allocations: 4 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002379/0.2447, allocations: 101.5 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2447, allocations: 63.34 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.2448, allocations: 97.86 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2449, allocations: 33.69 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2449, allocations: 84.14 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.2449, allocations: 27.64 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.245, allocations: 29.7 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2451, allocations: 318.8 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.2452, allocations: 24.36 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.2452, allocations: 43.36 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.2453, allocations: 67.55 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2453, allocations: 0 / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001451/0.2455, allocations: 105.5 kB / 0.7869 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2455, allocations: 8 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2455, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2456, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.2456, allocations: 19.92 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.2456, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.2457, allocations: 7.938 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.2457, allocations: 8 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB 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 9.943e-05/0.2458, allocations: 122.4 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.2459, allocations: 11.94 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2459, allocations: 7.969 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2459, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2459, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2459, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.2463, allocations: 362.5 kB / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2463, allocations: 0 / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.2464, allocations: 4 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2464, allocations: 7.984 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2464, allocations: 0 / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2464, allocations: 3.938 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2464, allocations: 3.984 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2466, allocations: 179.4 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.2466, allocations: 89.03 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2466, allocations: 0 / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.2467, allocations: 11.94 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.2468, allocations: 11.98 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2468, allocations: 4 kB / 0.7877 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.2468, allocations: 87.27 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2468, allocations: 192 / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002291/0.2471, allocations: 8 kB / 0.7878 GB, free: 8.402 MB / 0.6075 GB 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 9.558e-05/0.2472, allocations: 103.2 kB / 0.7879 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.2473, allocations: 59.84 kB / 0.7879 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2473, allocations: 4.062 kB / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.2474, allocations: 24 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.2476, allocations: 8.406 kB / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.248, allocations: 179.1 kB / 0.7881 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2483, allocations: 0.688 MB / 0.7888 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2483, allocations: 7.984 kB / 0.7888 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.2484, allocations: 11.44 kB / 0.7888 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2484, allocations: 0 / 0.7888 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.002582/0.2509, allocations: 0.6832 MB / 0.7895 GB, free: 6.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)