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.001421/0.001421, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001792/0.001792, allocations: 171.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.601/1.601, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.323/1.323, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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 5.01e-06/5.01e-06, allocations: 4 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.551e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003085/0.003121, allocations: 1.481 MB / 0.6199 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004155, allocations: 466.8 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.004208, allocations: 0 / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.00425, allocations: 0 / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.004341, allocations: 15.86 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.004511, allocations: 19.92 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.004628, allocations: 59.83 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004757, allocations: 8 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.004846, allocations: 35.89 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.004915, allocations: 15.98 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.004949, allocations: 4 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.004964, allocations: 7.938 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.004993, allocations: 11.92 kB / 0.6206 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.005041, allocations: 19.97 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.005175, allocations: 43.83 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005178, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005179, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.00519, allocations: 0 / 0.6206 GB, free: 2.484 MB / 0.5294 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.0005843/0.005774, allocations: 294.2 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.00582, allocations: 9.469 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.005859, allocations: 4.938 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006009, allocations: 121.7 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.006024, allocations: 8.375 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.006043, allocations: 4.375 kB / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006175, allocations: 58.23 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.006188, allocations: 192 / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.006202, allocations: 384 / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.006209, allocations: 7.875 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.006276, allocations: 27.98 kB / 0.6211 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.006767, allocations: 224.5 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.006896, allocations: 58.62 kB / 0.6214 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.00695, allocations: 28.83 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.006966, allocations: 4 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.007142, allocations: 75.34 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.007143, allocations: 0 / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000261/0.007404, allocations: 97.89 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.007483, allocations: 59.5 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.007583, allocations: 113.7 kB / 0.6218 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.007613, allocations: 33.7 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.007681, allocations: 80.14 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.007716, allocations: 35.7 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.007763, allocations: 25.72 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.007909, allocations: 322.8 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.007959, allocations: 12 kB / 0.6223 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.008033, allocations: 47.42 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.008134, allocations: 67.36 kB / 0.6224 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008136, allocations: 4 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000152/0.008288, allocations: 97.5 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.008308, allocations: 4 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.008316, allocations: 4 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.008333, allocations: 0 / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.008416, allocations: 11.94 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.008427, allocations: 4 kB / 0.6225 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.008492, allocations: 11.98 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.008501, allocations: 4 kB / 0.6225 GB, free: 376 kB / 0.5294 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 0.0001066/0.008607, allocations: 118.9 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.008621, allocations: 7.891 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.008657, allocations: 12.12 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008659, allocations: 0 / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.008668, allocations: 4.062 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.008673, allocations: 3.984 kB / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.009114, allocations: 302 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009115, allocations: 0 / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.009141, allocations: 4.281 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009143, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.009157, allocations: 11.98 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009158, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009159, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.009368, allocations: 191.4 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.009381, allocations: 11.92 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.009395, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.009477, allocations: 4 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.009538, allocations: 11.98 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.009543, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.009599, allocations: 87.27 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009599, allocations: 4 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002273/0.009827, allocations: 12 kB / 0.6233 GB, free: 15.53 MB / 0.545 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 0.0001318/0.009959, allocations: 99.25 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01011, allocations: 55.84 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01011, allocations: 0 / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.01016, allocations: 20 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01046, allocations: 15.92 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01082, allocations: 148.8 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.0109, allocations: 75.34 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.01093, allocations: 7.953 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.01097, allocations: 12.5 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.01097, allocations: 0 / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Templates: time 0.003812/0.01478, allocations: 0.817 MB / 0.6245 GB, free: 14.25 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.512687582522631] Failed to read output from testmodel.py, exit status != 0: 0.02418656274676323 0.038965124000000004 0.030626996000000004 Calling exit ...