Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001621/0.001621, allocations: 80.88 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.001716/0.001716, allocations: 181.3 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.046/1.046, allocations: 177.2 MB / 203.8 MB, free: 5.438 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.8756/0.8756, allocations: 154.6 MB / 414.8 MB, free: 500 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. " [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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.602e-05, allocations: 4.984 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002437/0.002473, allocations: 0.7649 MB / 480.8 MB, free: 6.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.004498, allocations: 1.312 MB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.004591, allocations: 4 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.004636, allocations: 12.83 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.004762, allocations: 11.05 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.005632, allocations: 246.9 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.00597, allocations: 265 kB / 482.7 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.006073, allocations: 12.22 kB / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.006286, allocations: 151.8 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.006465, allocations: 72.56 kB / 482.9 MB, free: 4.082 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.006506, allocations: 20.78 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.006613, allocations: 31.98 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.006652, allocations: 28.83 kB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.006745, allocations: 75.86 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.006992, allocations: 168.6 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.006997, allocations: 0 / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006998, allocations: 0 / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.007003, allocations: 0.5625 kB / 483.2 MB, free: 3.766 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.0006835/0.007687, allocations: 395.7 kB / 483.6 MB, free: 3.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.007733, allocations: 12.59 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.007811, allocations: 29.53 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.008062, allocations: 144.2 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.008094, allocations: 16.98 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.008135, allocations: 20.38 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.008335, allocations: 133.1 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.008346, allocations: 4.906 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.008359, allocations: 384 / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.008367, allocations: 4.906 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.008438, allocations: 39.91 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.009006, allocations: 326.2 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.009218, allocations: 110 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.00927, allocations: 34.7 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.009278, allocations: 0 / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.009556, allocations: 194.8 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.009558, allocations: 0 / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003172/0.009875, allocations: 178.9 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.009938, allocations: 85.11 kB / 484.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.01005, allocations: 135.9 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.01009, allocations: 45.69 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.01015, allocations: 93.69 kB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.01021, allocations: 59.56 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.01033, allocations: 69.64 kB / 485.3 MB, free: 1.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01047, allocations: 327.4 kB / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.0106, allocations: 108.6 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.01113, allocations: 179.6 kB / 485.9 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.01137, allocations: 211 kB / 486.1 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.01138, allocations: 11.92 kB / 486.1 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000405/0.01179, allocations: 324.5 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.01186, allocations: 71.39 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01187, allocations: 4.719 kB / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.01189, allocations: 4 kB / 486.5 MB, free: 156 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.01198, allocations: 20.75 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01199, allocations: 7.922 kB / 486.5 MB, free: 128 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.01222, allocations: 57.97 kB / 486.6 MB, free: 72 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.01225, allocations: 16 kB / 486.6 MB, free: 56 kB / 442.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 0.0001528/0.0124, allocations: 142.7 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.01244, allocations: 29.38 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.01248, allocations: 12.44 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.01249, allocations: 4 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01249, allocations: 0.5312 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01249, allocations: 0 / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.01286, allocations: 389.7 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01286, allocations: 4 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.0129, allocations: 9.844 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01291, allocations: 4 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01292, allocations: 7.984 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01292, allocations: 4 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01293, allocations: 4 kB / 487.2 MB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.01318, allocations: 324.8 kB / 487.5 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.0132, allocations: 15.84 kB / 487.5 MB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.01323, allocations: 15.94 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01337, allocations: 7.984 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.01343, allocations: 27.94 kB / 487.6 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.01345, allocations: 9.688 kB / 487.6 MB, free: 15.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.01348, allocations: 20.83 kB / 487.6 MB, free: 15 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01348, allocations: 0 / 487.6 MB, free: 15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000351/0.01383, allocations: 59.98 kB / 487.7 MB, free: 14.95 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.000195/0.01402, allocations: 92.25 kB / 487.8 MB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.0144, allocations: 336.5 kB / 488.1 MB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.01441, allocations: 7.938 kB / 488.1 MB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01451, allocations: 71.09 kB / 488.2 MB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.01486, allocations: 39.88 kB / 488.2 MB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.01533, allocations: 252.3 kB / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.046e-05/0.0154, allocations: 71.94 kB / 488.5 MB, free: 14.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.01547, allocations: 17.02 kB / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.01564, allocations: 92.34 kB / 488.6 MB, free: 13.91 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01564, allocations: 0 / 488.6 MB, free: 13.91 MB / 458.7 MB Notification: Performance of Templates: time 0.00678/0.02242, allocations: 3.025 MB / 491.7 MB, free: 11.11 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.731992097105831]