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.000924/0.000924, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001518/0.001518, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.06/1.06, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.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.822/0.822, allocations: 154.6 MB / 414.8 MB, free: 0.5 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. " [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.824e-06/1.824e-06, allocations: 0 / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.615e-05, allocations: 6.906 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001914/0.00193, allocations: 1.564 MB / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.002538, allocations: 474 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.002571, allocations: 0.625 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.002597, allocations: 0 / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.002683, allocations: 12.73 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.002821, allocations: 27.84 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.002897, allocations: 52.28 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.002981, allocations: 11.98 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.11e-05/0.003042, allocations: 26.81 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.003109, allocations: 21.94 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.003125, allocations: 5.406 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.003133, allocations: 4 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.00315, allocations: 9.516 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.003178, allocations: 18.12 kB / 482.2 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.003263, allocations: 36.05 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003265, allocations: 0.875 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003265, allocations: 4 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.00327, allocations: 1.062 kB / 482.3 MB, free: 4.691 MB / 442.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.0003626/0.003632, allocations: 259.9 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.003665, allocations: 8.656 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.003706, allocations: 12.92 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.693e-05/0.003793, allocations: 102.4 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003804, allocations: 5 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.003814, allocations: 8.375 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.405e-05/0.003888, allocations: 50.8 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.003895, allocations: 4.125 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003904, allocations: 5 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.003912, allocations: 8.562 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.00394, allocations: 15.92 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.004206, allocations: 182 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.004278, allocations: 42.58 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.004301, allocations: 18.38 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.004307, allocations: 0 / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.662e-05/0.004404, allocations: 71.31 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.004405, allocations: 0.9062 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001192/0.004524, allocations: 65.61 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.004563, allocations: 56.06 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.004627, allocations: 110.7 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.004641, allocations: 26.33 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.004676, allocations: 96.06 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.004701, allocations: 25.05 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.004739, allocations: 21.72 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.004821, allocations: 322.8 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.004835, allocations: 8.5 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.004871, allocations: 44.5 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.004927, allocations: 49.73 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004929, allocations: 5.188 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.807e-05/0.005017, allocations: 73.55 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005029, allocations: 5.719 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005034, allocations: 1.031 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.005047, allocations: 4 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.00511, allocations: 15.94 kB / 483.9 MB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.005114, allocations: 5.266 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.005155, allocations: 7.938 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.005163, allocations: 8 kB / 484 MB, free: 2.824 MB / 442.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 5.937e-05/0.005222, allocations: 110.8 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.005236, allocations: 21.3 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.005257, allocations: 8.688 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.005259, allocations: 0 / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.005261, allocations: 4 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005264, allocations: 0.5625 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.005474, allocations: 223.5 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.005479, allocations: 7.938 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.005498, allocations: 7.938 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.005501, allocations: 1.312 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005507, allocations: 4.5 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.005509, allocations: 0 / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.005511, allocations: 5.047 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.198e-05/0.005603, allocations: 151.5 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.005614, allocations: 11.91 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005624, allocations: 0.9375 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.005678, allocations: 8 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.005712, allocations: 10.19 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.005716, allocations: 0 / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.368e-05/0.00573, allocations: 12.84 kB / 484.5 MB, free: 2.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00573, allocations: 0.5312 kB / 484.5 MB, free: 2.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000197/0.005927, allocations: 19.95 kB / 484.6 MB, free: 2.184 MB / 442.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.766e-05/0.005994, allocations: 73.42 kB / 484.6 MB, free: 2.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.006078, allocations: 46.69 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.00608, allocations: 1.562 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.006119, allocations: 29.34 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.006293, allocations: 15.88 kB / 484.7 MB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.006556, allocations: 151.2 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.006594, allocations: 61.7 kB / 484.9 MB, free: 1.762 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.006623, allocations: 8.703 kB / 484.9 MB, free: 1.754 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.006678, allocations: 59.38 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006678, allocations: 0 / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of Templates: time 0.002629/0.009308, allocations: 0.8264 MB / 485.8 MB, free: 0.9258 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6315074297599494]