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.0008185/0.0008185, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.001989, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006862/0.0006862, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001582, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9942/0.9942, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09628/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8017/0.8017, allocations: 155.4 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.292/1.094, allocations: 49.13 MB / 448.6 MB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.282e-06/1.282e-06, allocations: 0.875 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.5e-05, allocations: 4.562 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00176/0.001775, allocations: 1.581 MB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005288/0.002304, allocations: 481 kB / 452 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.002327, allocations: 0 / 452 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.002344, allocations: 4.656 kB / 452 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.456e-05/0.002379, allocations: 7 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.85e-05/0.002437, allocations: 33.23 kB / 452 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.002501, allocations: 52.28 kB / 452.1 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.002561, allocations: 4 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.002622, allocations: 43.84 kB / 452.1 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.002671, allocations: 17.83 kB / 452.2 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.002688, allocations: 9.281 kB / 452.2 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.002696, allocations: 4 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.002714, allocations: 6.516 kB / 452.2 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.002738, allocations: 13.09 kB / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.002812, allocations: 31.77 kB / 452.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.002829, allocations: 0.7812 kB / 452.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002829, allocations: 0.9844 kB / 452.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.002837, allocations: 5.031 kB / 452.2 MB, free: 2.383 MB / 426.7 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.000308/0.003145, allocations: 258.6 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.003175, allocations: 13.03 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.003198, allocations: 8.922 kB / 452.5 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.003278, allocations: 113.7 kB / 452.6 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.003286, allocations: 6.344 kB / 452.6 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.003296, allocations: 4.984 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.003358, allocations: 55.05 kB / 452.7 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003364, allocations: 192 / 452.7 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.00337, allocations: 384 / 452.7 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003376, allocations: 9.672 kB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.003401, allocations: 15.92 kB / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.00361, allocations: 177.5 kB / 452.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.003664, allocations: 34.56 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.003684, allocations: 22.16 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.003689, allocations: 1.219 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.894e-05/0.003778, allocations: 71.34 kB / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.003779, allocations: 0 / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001014/0.003881, allocations: 70.67 kB / 453.1 MB, free: 1.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.003917, allocations: 59.39 kB / 453.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.003963, allocations: 103.9 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.003978, allocations: 34.73 kB / 453.3 MB, free: 1.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.004006, allocations: 88.08 kB / 453.3 MB, free: 1.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.004025, allocations: 20.44 kB / 453.4 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.004056, allocations: 34.89 kB / 453.4 MB, free: 1.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.004132, allocations: 315.4 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.004144, allocations: 5.406 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.00417, allocations: 39.41 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.004214, allocations: 58.84 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004216, allocations: 4.719 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.694e-05/0.004283, allocations: 77.48 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.004294, allocations: 5.5 kB / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004298, allocations: 4 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.004308, allocations: 0 / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.004356, allocations: 16.05 kB / 453.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.004361, allocations: 8.844 kB / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.004391, allocations: 11.94 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.004394, allocations: 0.9375 kB / 453.9 MB, free: 0.5156 MB / 426.7 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 5.486e-05/0.004449, allocations: 117.8 kB / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.004457, allocations: 16.48 kB / 454.1 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.004477, allocations: 8.75 kB / 454.1 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.004478, allocations: 0 / 454.1 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.004479, allocations: 1.906 kB / 454.1 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004482, allocations: 0 / 454.1 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.004651, allocations: 226.7 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004653, allocations: 3.938 kB / 454.3 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.004665, allocations: 4 kB / 454.3 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.004672, allocations: 9.672 kB / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004673, allocations: 0 / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.004676, allocations: 0 / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.004685, allocations: 4 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004686, allocations: 0.5625 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.554e-05/0.004771, allocations: 163.4 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.004779, allocations: 5.25 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.004811, allocations: 4 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.004838, allocations: 7.984 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.004842, allocations: 1.266 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.318e-05/0.004855, allocations: 12.84 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004855, allocations: 0.625 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001198/0.004975, allocations: 19.94 kB / 454.5 MB, free: 15.87 MB / 442.7 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 6.44e-05/0.005039, allocations: 83.34 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.734e-05/0.005107, allocations: 41.41 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.005111, allocations: 4 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.005145, allocations: 33.95 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.00529, allocations: 76.56 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.005604, allocations: 146.2 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.00564, allocations: 59.22 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.005659, allocations: 13.48 kB / 455 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.005708, allocations: 59.38 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005708, allocations: 0 / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of Templates: time 0.002114/0.007822, allocations: 0.8612 MB / 455.9 MB, free: 14.51 MB / 442.7 MB " [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.5364331901073456]