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.0006969/0.0006969, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009436/0.001641, allocations: 440 kB / 10.41 MB, free: 284 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.001621/0.001621, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.003481, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9608/0.9608, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09965/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8109/0.8109, allocations: 154.6 MB / 398.8 MB, free: 376 kB / 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.3043/1.115, allocations: 49.05 MB / 447.8 MB, free: 6.543 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.433e-06/1.433e-06, allocations: 0 / 449.1 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.876e-05, allocations: 2.859 kB / 449.1 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002179/0.002198, allocations: 1.58 MB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.002764, allocations: 470.4 kB / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.002795, allocations: 0 / 451.2 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.002818, allocations: 4.562 kB / 451.2 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.795e-05/0.002856, allocations: 4.172 kB / 451.2 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.001e-05/0.002936, allocations: 37.03 kB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.003002, allocations: 47.64 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.003192, allocations: 13.42 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.003267, allocations: 30.48 kB / 451.3 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.003328, allocations: 20.23 kB / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.003348, allocations: 8.594 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.003358, allocations: 8 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.003377, allocations: 6.297 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.003403, allocations: 13.53 kB / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.003496, allocations: 30.64 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.003508, allocations: 3.172 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003508, allocations: 0 / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.003521, allocations: 0 / 451.4 MB, free: 3.066 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.0003787/0.0039, allocations: 262.6 kB / 451.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.00393, allocations: 12.03 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.003962, allocations: 10.89 kB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/0.004052, allocations: 105.8 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004063, allocations: 4.375 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.004076, allocations: 8.312 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.917e-05/0.004146, allocations: 50.23 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004153, allocations: 2.703 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.004159, allocations: 384 / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004166, allocations: 5.031 kB / 451.8 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.004189, allocations: 15.98 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.004446, allocations: 184.7 kB / 452 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.004516, allocations: 44.31 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.004537, allocations: 16.84 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-06/0.004544, allocations: 0 / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.004651, allocations: 79.33 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.004652, allocations: 0 / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000123/0.004775, allocations: 62.5 kB / 452.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.004817, allocations: 59.39 kB / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.004873, allocations: 98.72 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.004887, allocations: 30.61 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.004922, allocations: 96.06 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.004946, allocations: 25.72 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.004982, allocations: 29.69 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.005055, allocations: 315.7 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.005066, allocations: 4 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.005095, allocations: 45.64 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.005139, allocations: 52.22 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005141, allocations: 0 / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.53e-05/0.005216, allocations: 79.8 kB / 453 MB, free: 1.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005229, allocations: 6.562 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.005235, allocations: 8.062 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005247, allocations: 0 / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.005307, allocations: 17.3 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005311, allocations: 4 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.005347, allocations: 11.94 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.00535, allocations: 0.6562 kB / 453.1 MB, free: 1.203 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 6.945e-05/0.00542, allocations: 119 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.005433, allocations: 11.92 kB / 453.2 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.005456, allocations: 12.12 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.005459, allocations: 1.781 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.005461, allocations: 1.062 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005465, allocations: 0 / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.005663, allocations: 227.9 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.005667, allocations: 3.938 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.005682, allocations: 4 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.005692, allocations: 8.703 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005693, allocations: 0 / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.005698, allocations: 1.5 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0057, allocations: 0 / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005702, allocations: 7.984 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.005784, allocations: 163.9 kB / 453.6 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.005792, allocations: 1.5 kB / 453.6 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.005827, allocations: 4 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.005853, allocations: 3.984 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.005863, allocations: 11.98 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.257e-05/0.005876, allocations: 9.547 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005876, allocations: 0 / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.006, allocations: 16.5 kB / 453.7 MB, free: 0.5586 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 7.083e-05/0.006071, allocations: 82.95 kB / 453.8 MB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.006152, allocations: 41.34 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.006158, allocations: 0.75 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.006195, allocations: 33.31 kB / 453.8 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.00637, allocations: 81.67 kB / 453.9 MB, free: 312 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.006758, allocations: 163.8 kB / 454.1 MB, free: 124 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.006791, allocations: 59.36 kB / 454.1 MB, free: 44 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.624e-05/0.006818, allocations: 8.547 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.006891, allocations: 60 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.006892, allocations: 0.625 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of Templates: time 0.002178/0.00907, allocations: 0.8435 MB / 455.1 MB, free: 15.2 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.5978536270558834]