Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.001135/0.001135, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001416/0.001416, allocations: 181 kB / 23.36 MB, free: 1.133 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8274/0.8274, allocations: 154.9 MB / 415.1 MB, free: 216 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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.807e-05, allocations: 2.969 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001473/0.001501, allocations: 0.719 MB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.002861, allocations: 1.319 MB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.002921, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.002955, allocations: 11.86 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.003049, allocations: 23.03 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.00357, allocations: 244 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.003811, allocations: 261.1 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.003893, allocations: 12.22 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.004048, allocations: 153.7 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.004182, allocations: 71.81 kB / 483.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.004213, allocations: 20 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.004275, allocations: 28.86 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.004306, allocations: 31.91 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.004372, allocations: 73.14 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004551, allocations: 179.5 kB / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004553, allocations: 0 / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004554, allocations: 0 / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004558, allocations: 0.8438 kB / 483.5 MB, free: 3.457 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004629/0.005021, allocations: 387.8 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.005054, allocations: 12.97 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.005102, allocations: 27.48 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.005266, allocations: 149.6 kB / 484.1 MB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.005289, allocations: 17.3 kB / 484.1 MB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.005318, allocations: 16.38 kB / 484.1 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.005453, allocations: 129.2 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.005461, allocations: 192 / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.005472, allocations: 9.172 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.005477, allocations: 384 / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.005526, allocations: 39.84 kB / 484.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.005916, allocations: 327.3 kB / 484.6 MB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006057, allocations: 109.2 kB / 484.7 MB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.006093, allocations: 37.7 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.006104, allocations: 4.938 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.006294, allocations: 186.3 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 9.02e-07/0.006295, allocations: 1.25 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.000217/0.006512, allocations: 188.6 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.006559, allocations: 81.11 kB / 485.2 MB, free: 1.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.006636, allocations: 139.1 kB / 485.3 MB, free: 1.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.006666, allocations: 38.67 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.006709, allocations: 96.61 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.006743, allocations: 55.56 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.006816, allocations: 74.52 kB / 485.6 MB, free: 1.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.006894, allocations: 326.7 kB / 485.9 MB, free: 0.875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.006977, allocations: 112.5 kB / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.007086, allocations: 174.8 kB / 486.2 MB, free: 0.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.007229, allocations: 217.4 kB / 486.4 MB, free: 300 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.007234, allocations: 4.469 kB / 486.4 MB, free: 296 kB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002479/0.007482, allocations: 324.3 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.007522, allocations: 68.2 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.007531, allocations: 10.38 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007545, allocations: 5.781 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.007603, allocations: 19.94 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007608, allocations: 3.938 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.007757, allocations: 57.34 kB / 486.9 MB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.007779, allocations: 19.98 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.16e-05/0.007871, allocations: 144.7 kB / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.007894, allocations: 25.03 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.007926, allocations: 12.44 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.007929, allocations: 4 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.007931, allocations: 2.344 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.007936, allocations: 4 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.008188, allocations: 381.9 kB / 487.4 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.008191, allocations: 4 kB / 487.4 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.008216, allocations: 15.92 kB / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008218, allocations: 0 / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008228, allocations: 9.047 kB / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00823, allocations: 0 / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.008233, allocations: 4 kB / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.008394, allocations: 311.4 kB / 487.8 MB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.008408, allocations: 27.77 kB / 487.8 MB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.008429, allocations: 13.84 kB / 487.8 MB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.008503, allocations: 19.92 kB / 487.8 MB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.008546, allocations: 19.95 kB / 487.9 MB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.008556, allocations: 11.98 kB / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.717e-05/0.008573, allocations: 25.58 kB / 487.9 MB, free: 14.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008573, allocations: 0 / 487.9 MB, free: 14.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.008771, allocations: 56.73 kB / 488 MB, free: 14.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001202/0.008891, allocations: 90.73 kB / 488 MB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.009145, allocations: 336.1 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.009148, allocations: 0 / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.009216, allocations: 73.86 kB / 488.4 MB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009426, allocations: 33.42 kB / 488.5 MB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.009738, allocations: 246.3 kB / 488.7 MB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.00978, allocations: 68.61 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.557e-05/0.009825, allocations: 23.81 kB / 488.8 MB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.009942, allocations: 100.1 kB / 488.9 MB, free: 13.61 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009943, allocations: 0 / 488.9 MB, free: 13.61 MB / 458.7 MB Notification: Performance of Templates: time 0.00463/0.01457, allocations: 3.024 MB / 491.9 MB, free: 10.81 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8371239816769958]