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.001369/0.001369, allocations: 73.97 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001015/0.001015, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9575/0.9575, allocations: 177.1 MB / 204.5 MB, free: 5.098 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.9234/0.9234, allocations: 154.9 MB / 415.9 MB, free: 184 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.513e-06/1.513e-06, allocations: 0 / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.824e-05, allocations: 6.031 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001923/0.001941, allocations: 1.515 MB / 0.5233 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.002845, allocations: 469.8 kB / 0.5238 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.002884, allocations: 0 / 0.5238 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.002912, allocations: 5.797 kB / 0.5238 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.002989, allocations: 15.86 kB / 0.5238 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.003114, allocations: 23.86 kB / 0.5238 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 7.04e-05/0.003185, allocations: 51.84 kB / 0.5239 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.003273, allocations: 13.59 kB / 0.5239 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.003332, allocations: 31.92 kB / 0.5239 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.003388, allocations: 11.97 kB / 0.5239 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.003411, allocations: 4 kB / 0.5239 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.003419, allocations: 4 kB / 0.5239 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.003442, allocations: 21.3 kB / 0.524 GB, free: 15.4 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.003469, allocations: 11.98 kB / 0.524 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 8.632e-05/0.003555, allocations: 35.89 kB / 0.524 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003557, allocations: 0.5312 kB / 0.524 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003558, allocations: 0 / 0.524 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003562, allocations: 4.688 kB / 0.524 GB, free: 15.35 MB / 0.4949 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.0003461/0.003908, allocations: 386 kB / 0.5244 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.003941, allocations: 12.03 kB / 0.5244 GB, free: 14.93 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.003969, allocations: 4.938 kB / 0.5244 GB, free: 14.92 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.00405, allocations: 116.6 kB / 0.5245 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.004061, allocations: 1.719 kB / 0.5245 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.00407, allocations: 4.375 kB / 0.5245 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.255e-05/0.004143, allocations: 54.17 kB / 0.5246 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00415, allocations: 3.719 kB / 0.5246 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004157, allocations: 384 / 0.5246 GB, free: 14.72 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.004164, allocations: 3.938 kB / 0.5246 GB, free: 14.71 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.004191, allocations: 19.98 kB / 0.5246 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.004473, allocations: 268.3 kB / 0.5249 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.00454, allocations: 51.08 kB / 0.5249 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.00456, allocations: 19.7 kB / 0.5249 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.004566, allocations: 0 / 0.5249 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.808e-05/0.004654, allocations: 81.53 kB / 0.525 GB, free: 14.23 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.004655, allocations: 4.5 kB / 0.525 GB, free: 14.22 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9): time 0.0001496/0.004805, allocations: 86.52 kB / 0.5251 GB, free: 14.13 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.00484, allocations: 55.41 kB / 0.5251 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.004904, allocations: 169.9 kB / 0.5253 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.004917, allocations: 27.17 kB / 0.5253 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.004957, allocations: 130.9 kB / 0.5255 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.004978, allocations: 23.83 kB / 0.5255 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.005012, allocations: 35.36 kB / 0.5255 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.005122, allocations: 0.493 MB / 0.526 GB, free: 13.15 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.005136, allocations: 8 kB / 0.526 GB, free: 13.14 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.005168, allocations: 43.64 kB / 0.526 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.005228, allocations: 76.48 kB / 0.5261 GB, free: 12.99 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00523, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4949 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.073e-05/0.00532, allocations: 89.5 kB / 0.5262 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.005332, allocations: 11.94 kB / 0.5262 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005336, allocations: 0.6562 kB / 0.5262 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.005343, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.005399, allocations: 13.12 kB / 0.5262 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005401, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.005435, allocations: 11.92 kB / 0.5262 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.005439, allocations: 6.344 kB / 0.5262 GB, free: 12.86 MB / 0.4949 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 6.8e-05/0.005507, allocations: 164.5 kB / 0.5264 GB, free: 12.69 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.005518, allocations: 11.89 kB / 0.5264 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.005538, allocations: 12.12 kB / 0.5264 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.00554, allocations: 0 / 0.5264 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005542, allocations: 2.75 kB / 0.5264 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005545, allocations: 0 / 0.5264 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.005774, allocations: 318 kB / 0.5267 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005775, allocations: 3.938 kB / 0.5267 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.005788, allocations: 4 kB / 0.5267 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.005791, allocations: 3.984 kB / 0.5267 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.005796, allocations: 8 kB / 0.5267 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005797, allocations: 1.312 kB / 0.5267 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005798, allocations: 0 / 0.5267 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.005911, allocations: 231.7 kB / 0.527 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.005917, allocations: 0 / 0.527 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.005929, allocations: 8.938 kB / 0.527 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.005963, allocations: 4.062 kB / 0.527 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.00599, allocations: 8.922 kB / 0.527 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.005995, allocations: 4 kB / 0.527 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.006028, allocations: 127.2 kB / 0.5271 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.006028, allocations: 0.6562 kB / 0.5271 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.000153/0.006181, allocations: 15.95 kB / 0.5271 GB, free: 11.89 MB / 0.4949 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 7.581e-05/0.006257, allocations: 106.9 kB / 0.5272 GB, free: 11.78 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.006342, allocations: 46.12 kB / 0.5273 GB, free: 11.73 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006343, allocations: 4 kB / 0.5273 GB, free: 11.73 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.006375, allocations: 27.66 kB / 0.5273 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.006559, allocations: 17.55 kB / 0.5273 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.006783, allocations: 154 kB / 0.5275 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.006817, allocations: 62.47 kB / 0.5275 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.006839, allocations: 4 kB / 0.5275 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.006902, allocations: 74.2 kB / 0.5276 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of SimCode: time 6.31e-07/0.006903, allocations: 0 / 0.5276 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of Templates: time 0.002356/0.009259, allocations: 0.9194 MB / 0.5285 GB, free: 10.48 MB / 0.4949 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.8181310198269784]