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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9516/0.9516, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7756/0.7756, allocations: 154.9 MB / 414.8 MB, free: 404 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.725e-05, allocations: 5.328 kB / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001784/0.001801, allocations: 1.518 MB / 0.5221 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.002572, allocations: 473.1 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.00261, allocations: 0 / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.002641, allocations: 3.938 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.002716, allocations: 8.922 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.002846, allocations: 31.78 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.002925, allocations: 53 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.003006, allocations: 8 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.003079, allocations: 31.95 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.003135, allocations: 17.33 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.003156, allocations: 4 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.003167, allocations: 4 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.003187, allocations: 11.98 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.003225, allocations: 20.72 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.19e-05/0.003317, allocations: 31.89 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003319, allocations: 5.281 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00332, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003323, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 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.0004422/0.003765, allocations: 381.9 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.003802, allocations: 8.031 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.003845, allocations: 16.86 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.003954, allocations: 113.4 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003965, allocations: 4.375 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.003977, allocations: 6.125 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004082, allocations: 58.17 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.004091, allocations: 192 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.004101, allocations: 384 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.004112, allocations: 7.938 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.004157, allocations: 14.14 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.00455, allocations: 295.6 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.632e-05/0.004646, allocations: 47.05 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.004685, allocations: 23.72 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.004694, allocations: 5.469 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.004808, allocations: 73.06 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.00481, allocations: 0 / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002103/0.00502, allocations: 98.52 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.005062, allocations: 55.41 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.005154, allocations: 169.9 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.005171, allocations: 30.64 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.005224, allocations: 130.9 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.005254, allocations: 28.77 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.005297, allocations: 31.38 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.005437, allocations: 0.4884 MB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.005467, allocations: 16.5 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.005518, allocations: 51.42 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.547e-05/0.005604, allocations: 67.89 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005605, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00013/0.005735, allocations: 97.44 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005748, allocations: 8.531 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.005753, allocations: 1.781 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.005767, allocations: 4 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.005844, allocations: 12 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.00585, allocations: 3.984 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.005899, allocations: 15.92 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.005907, allocations: 5.719 kB / 0.5251 GB, free: 13.1 MB / 0.4948 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.039e-05/0.005987, allocations: 164.5 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.006003, allocations: 11.89 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.006024, allocations: 8.125 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.006029, allocations: 5.375 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006032, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006035, allocations: 0 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.006334, allocations: 343.8 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.006337, allocations: 3.984 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.006354, allocations: 4 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006355, allocations: 0 / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006362, allocations: 0 / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006364, allocations: 0 / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006365, allocations: 4 kB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.006516, allocations: 238.6 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.006525, allocations: 4 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006537, allocations: 4.062 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.006596, allocations: 3.984 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.006631, allocations: 12.27 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.006638, allocations: 4 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.006684, allocations: 127.2 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006684, allocations: 0.6875 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002747/0.006959, allocations: 23.89 kB / 0.526 GB, free: 12.1 MB / 0.4948 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.129e-05/0.00704, allocations: 92.53 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.007175, allocations: 54.28 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007176, allocations: 4 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.007227, allocations: 31.61 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.007505, allocations: 18 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.007789, allocations: 150 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.007832, allocations: 59.34 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.007856, allocations: 10.69 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.00789, allocations: 16.5 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.00789, allocations: 4 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.003132/0.01102, allocations: 0.8687 MB / 0.5273 GB, free: 10.79 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611318639945239]