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.007693/0.007693, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001393/0.001393, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4753, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00226/0.4777, allocations: 1.479 MB / 0.6661 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005818/0.4782, allocations: 445.1 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.4783, allocations: 1.281 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.4783, allocations: 7.938 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.4784, allocations: 16.88 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.4786, allocations: 19.67 kB / 0.6665 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.4787, allocations: 52.72 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4788, allocations: 9.875 kB / 0.6666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.4789, allocations: 23.72 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.4789, allocations: 21.17 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.479, allocations: 3.906 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.479, allocations: 3.969 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.479, allocations: 19.3 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.479, allocations: 22.48 kB / 0.6667 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.4792, allocations: 42.44 kB / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4792, allocations: 0 / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4792, allocations: 5.281 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4792, allocations: 0 / 0.6667 GB, free: 5.938 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.0004787/0.4797, allocations: 356.3 kB / 0.6671 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4797, allocations: 9.344 kB / 0.6671 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.4797, allocations: 12.95 kB / 0.6671 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4798, allocations: 172.7 kB / 0.6673 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4799, allocations: 5.656 kB / 0.6673 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.4799, allocations: 4.438 kB / 0.6673 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.48, allocations: 64.16 kB / 0.6673 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.48, allocations: 0 / 0.6673 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.48, allocations: 5.266 kB / 0.6673 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.48, allocations: 1.344 kB / 0.6673 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.4801, allocations: 25.39 kB / 0.6674 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.4806, allocations: 296.9 kB / 0.6676 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4807, allocations: 57.47 kB / 0.6677 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.4807, allocations: 29.59 kB / 0.6677 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4807, allocations: 0 / 0.6677 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.4809, allocations: 76.36 kB / 0.6678 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4809, allocations: 3.938 kB / 0.6678 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002074/0.4811, allocations: 94.52 kB / 0.6679 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.4811, allocations: 56.88 kB / 0.6679 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.4812, allocations: 108.4 kB / 0.668 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4812, allocations: 30.98 kB / 0.6681 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.4813, allocations: 89.42 kB / 0.6682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4813, allocations: 23.75 kB / 0.6682 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.4813, allocations: 25.59 kB / 0.6682 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.4814, allocations: 326.2 kB / 0.6685 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.4814, allocations: 12.06 kB / 0.6685 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.4815, allocations: 45.58 kB / 0.6686 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.4816, allocations: 66.02 kB / 0.6686 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4816, allocations: 5.094 kB / 0.6686 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001258/0.4817, allocations: 97.95 kB / 0.6687 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4817, allocations: 6.25 kB / 0.6687 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4817, allocations: 5.297 kB / 0.6687 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4817, allocations: 1.406 kB / 0.6687 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.4818, allocations: 16.28 kB / 0.6688 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4818, allocations: 1.25 kB / 0.6688 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.4819, allocations: 12.98 kB / 0.6688 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4819, allocations: 2.562 kB / 0.6688 GB, free: 3.918 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 7.024e-05/0.482, allocations: 128.6 kB / 0.6689 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.482, allocations: 6.188 kB / 0.6689 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.482, allocations: 9.156 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.482, allocations: 1.188 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.482, allocations: 3.984 kB / 0.6689 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4821, allocations: 1.094 kB / 0.6689 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.4824, allocations: 363.3 kB / 0.6693 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4824, allocations: 0 / 0.6693 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.4824, allocations: 8.375 kB / 0.6693 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4824, allocations: 0 / 0.6693 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4824, allocations: 1.094 kB / 0.6693 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4824, allocations: 3.938 kB / 0.6693 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4824, allocations: 4.875 kB / 0.6693 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.4826, allocations: 180 kB / 0.6695 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.4826, allocations: 82.42 kB / 0.6695 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4826, allocations: 0.9375 kB / 0.6695 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4827, allocations: 15.08 kB / 0.6696 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.4827, allocations: 13.14 kB / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4828, allocations: 1.469 kB / 0.6696 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.4828, allocations: 79.53 kB / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4828, allocations: 0 / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002203/0.483, allocations: 14.91 kB / 0.6697 GB, free: 3.051 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.107e-05/0.4831, allocations: 101.6 kB / 0.6698 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4832, allocations: 59.58 kB / 0.6698 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4833, allocations: 1.125 kB / 0.6698 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.4833, allocations: 33.48 kB / 0.6698 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4836, allocations: 4.875 kB / 0.6698 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.4839, allocations: 159 kB / 0.67 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.484, allocations: 0.6829 MB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.484, allocations: 11.55 kB / 0.6707 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.4841, allocations: 11.66 kB / 0.6707 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4841, allocations: 0 / 0.6707 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.002936/0.487, allocations: 0.7825 MB / 0.6715 GB, free: 1.652 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)