Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008599/0.0008599, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002051, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007574/0.0007574, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001823, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.048/1.048, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1142/1.162, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8236/0.8236, allocations: 154.6 MB / 398.5 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.318/1.142, allocations: 49.04 MB / 447.6 MB, free: 6.695 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/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.907e-05, allocations: 4.562 kB / 448.8 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003014/0.003053, allocations: 1.576 MB / 450.4 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.003839, allocations: 468.8 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.003878, allocations: 1.406 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.003907, allocations: 3.938 kB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.00396, allocations: 6.5 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.00408, allocations: 33.53 kB / 450.9 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.004199, allocations: 48.08 kB / 451 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004302, allocations: 8.609 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.004406, allocations: 44.56 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.004487, allocations: 13.84 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.004513, allocations: 8 kB / 451 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.004527, allocations: 4.656 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.004549, allocations: 5.422 kB / 451 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.004592, allocations: 14.98 kB / 451.1 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.004722, allocations: 34.78 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-05/0.004745, allocations: 4 kB / 451.1 MB, free: 3.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.004749, allocations: 6.531 kB / 451.1 MB, free: 3.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.004771, allocations: 0 / 451.1 MB, free: 3.242 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.0005521/0.005323, allocations: 258.6 kB / 451.4 MB, free: 2.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.005365, allocations: 12.03 kB / 451.4 MB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.005407, allocations: 5.812 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005516, allocations: 111 kB / 451.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00553, allocations: 5.656 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.005545, allocations: 8.359 kB / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.005644, allocations: 50.19 kB / 451.5 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.005653, allocations: 192 / 451.5 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005662, allocations: 5.047 kB / 451.6 MB, free: 2.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.00567, allocations: 3.938 kB / 451.6 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.005708, allocations: 12.91 kB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.006043, allocations: 185.2 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.006129, allocations: 38.56 kB / 451.8 MB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.006154, allocations: 18.03 kB / 451.8 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.006162, allocations: 0 / 451.8 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.006297, allocations: 76.83 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.006298, allocations: 0 / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000154/0.006452, allocations: 69.61 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.006504, allocations: 55.91 kB / 452 MB, free: 2.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.006673, allocations: 107.3 kB / 452.1 MB, free: 2.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.006706, allocations: 30.77 kB / 452.1 MB, free: 2.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.006753, allocations: 88.09 kB / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.006795, allocations: 24.91 kB / 452.2 MB, free: 1.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.006853, allocations: 29.69 kB / 452.3 MB, free: 1.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.006949, allocations: 322.8 kB / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.006976, allocations: 4.562 kB / 452.6 MB, free: 1.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.007016, allocations: 34.39 kB / 452.6 MB, free: 1.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.007088, allocations: 60.98 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.007091, allocations: 1.406 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001242/0.007215, allocations: 74.91 kB / 452.8 MB, free: 1.426 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.007235, allocations: 7.938 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.007245, allocations: 4.75 kB / 452.8 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.007261, allocations: 3.984 kB / 452.8 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.007359, allocations: 13.53 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007365, allocations: 4 kB / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.007421, allocations: 11.94 kB / 452.8 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.007426, allocations: 0 / 452.8 MB, free: 1.383 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 7.529e-05/0.007501, allocations: 122.6 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.007516, allocations: 8.906 kB / 452.9 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.007546, allocations: 12.12 kB / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007548, allocations: 0 / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.007551, allocations: 2.078 kB / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007555, allocations: 4.562 kB / 453 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.007797, allocations: 226.1 kB / 453.2 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.007799, allocations: 7.922 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.007814, allocations: 4 kB / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-06/0.007821, allocations: 4 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007823, allocations: 0 / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.007827, allocations: 0 / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.007831, allocations: 4 kB / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.007833, allocations: 3.984 kB / 453.2 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.007911, allocations: 163.4 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.00792, allocations: 1.25 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.007959, allocations: 12.05 kB / 453.4 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.007997, allocations: 3.984 kB / 453.4 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.008004, allocations: 8 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.148e-05/0.008015, allocations: 9.609 kB / 453.4 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008015, allocations: 0 / 453.4 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000119/0.008134, allocations: 16.56 kB / 453.4 MB, free: 0.7383 MB / 426.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 9.129e-05/0.008226, allocations: 82.69 kB / 453.5 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.008313, allocations: 45.28 kB / 453.5 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.008319, allocations: 0.625 kB / 453.5 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.008347, allocations: 21.47 kB / 453.6 MB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.008511, allocations: 24.73 kB / 453.6 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.008928, allocations: 164 kB / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.008963, allocations: 59.36 kB / 453.8 MB, free: 304 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.008988, allocations: 9.547 kB / 453.8 MB, free: 296 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.009036, allocations: 55.38 kB / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.009036, allocations: 0 / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of Templates: time 0.002321/0.01136, allocations: 0.8549 MB / 454.7 MB, free: 15.44 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7123240185901523]