Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.001889/0.001889, allocations: 92.7 kB / 19.44 MB, free: 316 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.002552/0.002552, allocations: 161.3 kB / 22.76 MB, free: 1.648 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 1.64/1.64, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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-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 1.36/1.36, allocations: 154.8 MB / 414.3 MB, free: 472 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 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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5198 GB, free: 2.379 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.812e-05, allocations: 7.859 kB / 0.5198 GB, free: 2.371 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002941/0.002979, allocations: 1.474 MB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.003939, allocations: 461.6 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.003982, allocations: 0.6875 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.004019, allocations: 3.938 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.004112, allocations: 9.062 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.004277, allocations: 23.95 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.004388, allocations: 51.84 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.004492, allocations: 4.719 kB / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.004583, allocations: 43.83 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.004651, allocations: 8.484 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.004684, allocations: 4.562 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.004699, allocations: 8 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.004728, allocations: 17.08 kB / 0.5219 GB, free: 292 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.004775, allocations: 15.98 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.0049, allocations: 47.8 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004903, allocations: 0.7812 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004904, allocations: 0 / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004908, allocations: 0.6562 kB / 0.5219 GB, free: 228 kB / 490.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.0006091/0.005517, allocations: 281.6 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.005558, allocations: 12.03 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.005622, allocations: 8.938 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005769, allocations: 117.7 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.005789, allocations: 8.312 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.00581, allocations: 8.375 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.005943, allocations: 54.25 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005952, allocations: 192 / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.005966, allocations: 5.109 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.005976, allocations: 7.938 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.229e-05/0.006048, allocations: 24.55 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.006563, allocations: 233.4 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.006689, allocations: 52.16 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.006741, allocations: 28.88 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006754, allocations: 0 / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.006956, allocations: 75.36 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.006957, allocations: 0.9375 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002772/0.007234, allocations: 105.6 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.007292, allocations: 57.41 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007395, allocations: 105.8 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.007425, allocations: 33.7 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.007486, allocations: 80.14 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.007533, allocations: 31.77 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.007586, allocations: 29.66 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.007763, allocations: 323.5 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.007802, allocations: 12.62 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.007872, allocations: 51.36 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007983, allocations: 72.19 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007985, allocations: 0.625 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001705/0.008155, allocations: 110.9 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.008173, allocations: 4 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.008178, allocations: 0 / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.008203, allocations: 4 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.008274, allocations: 8.781 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.008282, allocations: 3.938 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.008351, allocations: 8.859 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.00836, allocations: 4 kB / 0.5238 GB, free: 14.12 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 0.0001261/0.008486, allocations: 120.9 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.008507, allocations: 15.89 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.008534, allocations: 8.125 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008535, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.008539, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.008545, allocations: 3.984 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.008974, allocations: 294.1 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008976, allocations: 0.5 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.009004, allocations: 12.88 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.009011, allocations: 7.984 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.00902, allocations: 0.7188 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009021, allocations: 0 / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.009022, allocations: 0.9688 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.009239, allocations: 191.4 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.00925, allocations: 4 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.009264, allocations: 1.219 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.009351, allocations: 7.938 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.009406, allocations: 11.98 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009414, allocations: 4.609 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.009469, allocations: 79.28 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009469, allocations: 0.6562 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002397/0.009709, allocations: 23.17 kB / 0.5245 GB, free: 13.3 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 0.0001224/0.009831, allocations: 93.64 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.009983, allocations: 55.91 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009985, allocations: 0 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.01004, allocations: 23.94 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.01034, allocations: 19.08 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.01081, allocations: 171.4 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.052e-05/0.01089, allocations: 71.33 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.01091, allocations: 7.984 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01095, allocations: 12.5 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01095, allocations: 4 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.003948/0.0149, allocations: 0.8207 MB / 0.5258 GB, free: 12.02 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.427571197040379]