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.0008341/0.0008341, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001026/0.001026, allocations: 177 kB / 24.07 MB, free: 448 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.9756/0.9756, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.7963/0.7963, allocations: 154.9 MB / 415.9 MB, free: 276 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.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.423e-06/1.423e-06, allocations: 0 / 0.5218 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.675e-05, allocations: 2.312 kB / 0.5218 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001742/0.001759, allocations: 1.517 MB / 0.5233 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.002405, allocations: 473.5 kB / 0.5238 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.00244, allocations: 3.938 kB / 0.5238 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.002471, allocations: 3.938 kB / 0.5238 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.00255, allocations: 0.8125 kB / 0.5238 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.00269, allocations: 28.88 kB / 0.5238 GB, free: 14.51 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.002766, allocations: 47.84 kB / 0.5239 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.002858, allocations: 15.98 kB / 0.5239 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.002921, allocations: 29.39 kB / 0.5239 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.00298, allocations: 15.95 kB / 0.5239 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.003, allocations: 11.94 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.003008, allocations: 4 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.003028, allocations: 9.141 kB / 0.5239 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.003056, allocations: 12 kB / 0.5239 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.122e-05/0.003137, allocations: 39.81 kB / 0.524 GB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00314, allocations: 4.688 kB / 0.524 GB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00314, allocations: 0 / 0.524 GB, free: 14.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003145, allocations: 1.281 kB / 0.524 GB, free: 14.33 MB / 458.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.000366/0.003511, allocations: 384.5 kB / 0.5244 GB, free: 13.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.003544, allocations: 8.031 kB / 0.5244 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.003576, allocations: 6.031 kB / 0.5244 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.003667, allocations: 116.6 kB / 0.5245 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.00368, allocations: 8.875 kB / 0.5245 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.00369, allocations: 4.375 kB / 0.5245 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.566e-05/0.003756, allocations: 46.97 kB / 0.5245 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003763, allocations: 192 / 0.5245 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003772, allocations: 5.219 kB / 0.5245 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.003778, allocations: 3.938 kB / 0.5245 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.003803, allocations: 22.44 kB / 0.5246 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.004063, allocations: 268.3 kB / 0.5248 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.713e-05/0.00413, allocations: 51.03 kB / 0.5249 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.004153, allocations: 19.7 kB / 0.5249 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.004158, allocations: 0 / 0.5249 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.518e-05/0.004243, allocations: 81.62 kB / 0.525 GB, free: 13.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.004245, allocations: 1.219 kB / 0.525 GB, free: 13.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001431/0.004388, allocations: 85.67 kB / 0.5251 GB, free: 13.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.004423, allocations: 55.41 kB / 0.5251 GB, free: 13.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.004491, allocations: 173.8 kB / 0.5253 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004503, allocations: 26.23 kB / 0.5253 GB, free: 12.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.004549, allocations: 143.5 kB / 0.5254 GB, free: 12.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.004579, allocations: 19.84 kB / 0.5255 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.004612, allocations: 28.88 kB / 0.5255 GB, free: 12.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.004714, allocations: 0.4923 MB / 0.526 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.004727, allocations: 7.984 kB / 0.526 GB, free: 12.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.004758, allocations: 50.73 kB / 0.526 GB, free: 12.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.004809, allocations: 64.11 kB / 0.5261 GB, free: 11.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00481, allocations: 0 / 0.5261 GB, free: 11.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.654e-05/0.004897, allocations: 94.28 kB / 0.5262 GB, free: 11.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004907, allocations: 4 kB / 0.5262 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004911, allocations: 0.625 kB / 0.5262 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.004921, allocations: 4 kB / 0.5262 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.004973, allocations: 17.06 kB / 0.5262 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.004977, allocations: 3.984 kB / 0.5262 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.005008, allocations: 7.938 kB / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005013, allocations: 4.75 kB / 0.5262 GB, free: 11.84 MB / 458.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 6.511e-05/0.005078, allocations: 169.7 kB / 0.5264 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.005089, allocations: 15.83 kB / 0.5264 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.005109, allocations: 8.125 kB / 0.5264 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005111, allocations: 0 / 0.5264 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.005113, allocations: 4.859 kB / 0.5264 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.005117, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.005337, allocations: 319.1 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.00534, allocations: 3.984 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.005355, allocations: 4 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005356, allocations: 2.906 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-06/0.00536, allocations: 0 / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005361, allocations: 0 / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005363, allocations: 3.938 kB / 0.5267 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.283e-05/0.005456, allocations: 227.8 kB / 0.5269 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.005462, allocations: 4 kB / 0.5269 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.005471, allocations: 0 / 0.5269 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.482e-05/0.005516, allocations: 8 kB / 0.5269 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.005545, allocations: 18.94 kB / 0.527 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.005549, allocations: 4.344 kB / 0.527 GB, free: 11.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.005583, allocations: 127.2 kB / 0.5271 GB, free: 10.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005583, allocations: 0 / 0.5271 GB, free: 10.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000142/0.005725, allocations: 19.95 kB / 0.5271 GB, free: 10.86 MB / 458.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.361e-05/0.005789, allocations: 91.25 kB / 0.5272 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.00587, allocations: 56.98 kB / 0.5273 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.005871, allocations: 0 / 0.5273 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.0059, allocations: 27.61 kB / 0.5273 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.00608, allocations: 15.95 kB / 0.5273 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.006304, allocations: 158.1 kB / 0.5274 GB, free: 10.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.006336, allocations: 67.2 kB / 0.5275 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.006355, allocations: 4.812 kB / 0.5275 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.006407, allocations: 77.27 kB / 0.5276 GB, free: 10.32 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006407, allocations: 0 / 0.5276 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Templates: time 0.002212/0.008619, allocations: 0.9185 MB / 0.5285 GB, free: 9.449 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.69585825689137]