Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009221/0.0009221, allocations: 88.55 kB / 16.67 MB, free: 6.594 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.0009367/0.0009369, allocations: 184 kB / 17.58 MB, free: 6.188 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.422/1.422, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7191/0.7191, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4851, allocations: 77.52 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001781/0.4869, allocations: 1.19 MB / 0.5617 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.4876, allocations: 425.7 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.4877, allocations: 1.219 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.4877, allocations: 5.531 kB / 0.5622 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.4878, allocations: 8.016 kB / 0.5622 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.488, allocations: 22.64 kB / 0.5622 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.4881, allocations: 48.34 kB / 0.5622 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4882, allocations: 12.17 kB / 0.5622 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.4883, allocations: 21.97 kB / 0.5623 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.4884, allocations: 17.98 kB / 0.5623 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.4884, allocations: 2.781 kB / 0.5623 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.4884, allocations: 1.219 kB / 0.5623 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.4884, allocations: 7.984 kB / 0.5623 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.4885, allocations: 55.45 kB / 0.5623 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.584e-05/0.4886, allocations: 20.33 kB / 0.5624 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4886, allocations: 0 / 0.5624 GB, free: 35.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4886, allocations: 0 / 0.5624 GB, free: 35.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4886, allocations: 0 / 0.5624 GB, free: 35.04 MB / 446.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.0004849/0.4891, allocations: 362.2 kB / 0.5627 GB, free: 34.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4892, allocations: 15.41 kB / 0.5627 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.4892, allocations: 6.844 kB / 0.5627 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4893, allocations: 173.5 kB / 0.5629 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4893, allocations: 3.375 kB / 0.5629 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4894, allocations: 7.578 kB / 0.5629 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4895, allocations: 59.12 kB / 0.563 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4895, allocations: 1.984 kB / 0.563 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4895, allocations: 1.875 kB / 0.563 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4895, allocations: 5.5 kB / 0.563 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.029e-05/0.4896, allocations: 22.64 kB / 0.563 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.4901, allocations: 312.1 kB / 0.5633 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4902, allocations: 53.97 kB / 0.5633 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.4903, allocations: 22.81 kB / 0.5634 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4903, allocations: 3.125 kB / 0.5634 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.4905, allocations: 82.22 kB / 0.5634 GB, free: 34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.4905, allocations: 4.672 kB / 0.5634 GB, free: 34 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002355/0.4907, allocations: 96.61 kB / 0.5635 GB, free: 33.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4908, allocations: 59.72 kB / 0.5636 GB, free: 33.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.4908, allocations: 106.9 kB / 0.5637 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4909, allocations: 31.64 kB / 0.5637 GB, free: 33.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.4909, allocations: 86.86 kB / 0.5638 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4909, allocations: 22.73 kB / 0.5638 GB, free: 33.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.491, allocations: 20.02 kB / 0.5638 GB, free: 33.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.491, allocations: 322.4 kB / 0.5642 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.4911, allocations: 17.58 kB / 0.5642 GB, free: 33.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.4912, allocations: 53.3 kB / 0.5642 GB, free: 33.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.876e-05/0.4912, allocations: 62 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4913, allocations: 3.938 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001865/0.4914, allocations: 94.55 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4915, allocations: 4.281 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4915, allocations: 1.812 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4915, allocations: 3.188 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.4916, allocations: 8.484 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4916, allocations: 3.547 kB / 0.5644 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.4917, allocations: 21.23 kB / 0.5644 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4917, allocations: 2.688 kB / 0.5644 GB, free: 33.13 MB / 446.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.868e-05/0.4918, allocations: 125.1 kB / 0.5645 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.4918, allocations: 5.031 kB / 0.5645 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.4918, allocations: 9.812 kB / 0.5646 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4918, allocations: 2.078 kB / 0.5646 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4919, allocations: 1.5 kB / 0.5646 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4919, allocations: 0 / 0.5646 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.4922, allocations: 365.3 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4923, allocations: 2.172 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.4923, allocations: 3.859 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4923, allocations: 2.031 kB / 0.5649 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4923, allocations: 8.859 kB / 0.5649 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4923, allocations: 9.5 kB / 0.5649 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4923, allocations: 2.094 kB / 0.5649 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.4925, allocations: 176.3 kB / 0.5651 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.4925, allocations: 86.98 kB / 0.5652 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4926, allocations: 6.734 kB / 0.5652 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.4926, allocations: 11.94 kB / 0.5652 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.4927, allocations: 11.25 kB / 0.5652 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4927, allocations: 4.312 kB / 0.5652 GB, free: 32.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.4928, allocations: 84.89 kB / 0.5653 GB, free: 32.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4928, allocations: 0 / 0.5653 GB, free: 32.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.493, allocations: 20.19 kB / 0.5653 GB, free: 32.31 MB / 446.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.589e-05/0.4931, allocations: 98.14 kB / 0.5654 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4933, allocations: 53.8 kB / 0.5655 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4933, allocations: 0 / 0.5655 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.336e-05/0.4933, allocations: 28.45 kB / 0.5655 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4936, allocations: 12.25 kB / 0.5655 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.4939, allocations: 183.6 kB / 0.5657 GB, free: 32.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4941, allocations: 0.6858 MB / 0.5663 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.4941, allocations: 12.16 kB / 0.5664 GB, free: 31.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4941, allocations: 0 / 0.5664 GB, free: 31.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002659/0.4968, allocations: 0.8485 MB / 0.5672 GB, free: 31.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)