Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00813/0.00813, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00156/0.00156, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4456, allocations: 80.92 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00275/0.4484, allocations: 1.471 MB / 0.6661 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006927/0.4491, allocations: 449.6 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.4492, allocations: 0 / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.4492, allocations: 7.938 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.4493, allocations: 9.484 kB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4495, allocations: 28.38 kB / 0.6665 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.982e-05/0.4496, allocations: 44.17 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4497, allocations: 13.05 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.4498, allocations: 20.23 kB / 0.6666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.4499, allocations: 25.59 kB / 0.6666 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4499, allocations: 7.719 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.4499, allocations: 5.375 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.4499, allocations: 17.39 kB / 0.6667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.45, allocations: 18.22 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.4501, allocations: 43.91 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4501, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4501, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4501, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 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.0004817/0.4506, allocations: 357.5 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4507, allocations: 10 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.4507, allocations: 7.156 kB / 0.6671 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4508, allocations: 173 kB / 0.6672 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4509, allocations: 7.156 kB / 0.6673 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4509, allocations: 7.641 kB / 0.6673 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.451, allocations: 60.28 kB / 0.6673 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.451, allocations: 0 / 0.6673 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.451, allocations: 5.375 kB / 0.6673 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.451, allocations: 0 / 0.6673 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.4511, allocations: 31.08 kB / 0.6674 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.4516, allocations: 308.9 kB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4517, allocations: 49.19 kB / 0.6677 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.4517, allocations: 28.56 kB / 0.6677 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4518, allocations: 1.25 kB / 0.6677 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.452, allocations: 83.38 kB / 0.6678 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.452, allocations: 0 / 0.6678 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002225/0.4522, allocations: 101.5 kB / 0.6679 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4522, allocations: 54.25 kB / 0.668 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.4523, allocations: 107.9 kB / 0.6681 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4523, allocations: 27.02 kB / 0.6681 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.4524, allocations: 89.58 kB / 0.6682 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.4524, allocations: 23.81 kB / 0.6682 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.4524, allocations: 26.25 kB / 0.6682 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.4525, allocations: 324.2 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.4525, allocations: 13.31 kB / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.4526, allocations: 45.14 kB / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.4527, allocations: 66.95 kB / 0.6686 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4527, allocations: 4 kB / 0.6686 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001453/0.4528, allocations: 94.47 kB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4529, allocations: 10.61 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4529, allocations: 0 / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4529, allocations: 1.469 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.453, allocations: 13.31 kB / 0.6688 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.453, allocations: 1.344 kB / 0.6688 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.4531, allocations: 12.11 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4531, allocations: 3.625 kB / 0.6688 GB, free: 3.906 MB / 0.4981 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 8.794e-05/0.4532, allocations: 127.5 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.4532, allocations: 10.47 kB / 0.6689 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.4532, allocations: 5.094 kB / 0.6689 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4533, allocations: 1.375 kB / 0.6689 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4533, allocations: 3.938 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4533, allocations: 1.438 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.4536, allocations: 367.1 kB / 0.6693 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4536, allocations: 0 / 0.6693 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.4537, allocations: 7.406 kB / 0.6693 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4537, allocations: 5.344 kB / 0.6693 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4537, allocations: 1.312 kB / 0.6693 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4537, allocations: 3.938 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4537, allocations: 0 / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.4538, allocations: 180.6 kB / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.4539, allocations: 82.11 kB / 0.6695 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.4539, allocations: 5.297 kB / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.454, allocations: 15.67 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.454, allocations: 12.02 kB / 0.6696 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.454, allocations: 2.781 kB / 0.6696 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.4541, allocations: 78.59 kB / 0.6696 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 3.938 kB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.4543, allocations: 15.62 kB / 0.6697 GB, free: 3.027 MB / 0.4981 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 8.32e-05/0.4544, allocations: 100.2 kB / 0.6698 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4546, allocations: 57.5 kB / 0.6698 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4546, allocations: 0 / 0.6698 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/0.4546, allocations: 28.69 kB / 0.6698 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.4549, allocations: 13.42 kB / 0.6699 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.4553, allocations: 150.6 kB / 0.67 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.4554, allocations: 0.6836 MB / 0.6707 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.4554, allocations: 8.078 kB / 0.6707 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.4555, allocations: 15.03 kB / 0.6707 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4555, allocations: 1.406 kB / 0.6707 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of Templates: time 0.003046/0.4585, allocations: 0.7756 MB / 0.6714 GB, free: 1.645 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)