Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0008553/0.0008553, 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.0009109/0.0009109, allocations: 177 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 0.9845/0.9845, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.81/0.81, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.556e-05, allocations: 6.844 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001656/0.001682, allocations: 0.655 MB / 480.7 MB, free: 6.285 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.006235, allocations: 1.213 MB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.006303, allocations: 4 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.006336, allocations: 5.469 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.006434, allocations: 8.094 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.006887, allocations: 144.8 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.007057, allocations: 147.5 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/0.007129, allocations: 7.984 kB / 482.2 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.007243, allocations: 82.55 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.007352, allocations: 46.08 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.007372, allocations: 13.44 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.00743, allocations: 17.31 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.007458, allocations: 20.73 kB / 482.4 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.007505, allocations: 44.66 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.007647, allocations: 108.5 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007649, allocations: 0 / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007651, allocations: 5.375 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.007654, allocations: 0 / 482.5 MB, free: 4.453 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003961/0.00805, allocations: 309.6 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.008084, allocations: 12.88 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.008121, allocations: 12.92 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.008253, allocations: 134.3 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.008269, allocations: 8.359 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.00829, allocations: 17.16 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.008388, allocations: 78.89 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.008395, allocations: 0.8125 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.008404, allocations: 4.375 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.008412, allocations: 9.906 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.008448, allocations: 31.84 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.008735, allocations: 192.2 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.008832, allocations: 70.53 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.008855, allocations: 16.86 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.008862, allocations: 8.031 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.008995, allocations: 117 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.008997, allocations: 0 / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001642/0.009161, allocations: 121.2 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.009192, allocations: 59.34 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.009253, allocations: 118.7 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.009274, allocations: 34.33 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.00931, allocations: 96.69 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.009332, allocations: 27.78 kB / 484 MB, free: 2.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.009388, allocations: 50.3 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.009455, allocations: 314.8 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.009508, allocations: 58.3 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.009572, allocations: 102.5 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.156e-05/0.009664, allocations: 111.3 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.009666, allocations: 1.344 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001543/0.009821, allocations: 196.3 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.009849, allocations: 42.28 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.009854, allocations: 0.9062 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.009868, allocations: 7.938 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.009917, allocations: 11.94 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00992, allocations: 5 kB / 484.9 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01002, allocations: 24.59 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01004, allocations: 13.31 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.577e-05/0.01011, allocations: 121.8 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.01013, allocations: 16.45 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.01015, allocations: 12.44 kB / 485 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01016, allocations: 9.281 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01016, allocations: 0 / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01016, allocations: 0 / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01035, allocations: 251.7 kB / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01035, allocations: 0 / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.01037, allocations: 4.938 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01037, allocations: 8.75 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01038, allocations: 11.92 kB / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01038, allocations: 0.8125 kB / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01038, allocations: 0 / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.01069, allocations: 195.5 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.01069, allocations: 0.5938 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.01071, allocations: 13.19 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.01076, allocations: 7.984 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.0108, allocations: 15.97 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01081, allocations: 12.64 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.34e-05/0.01082, allocations: 13.16 kB / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0.75 kB / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.01098, allocations: 32 kB / 485.6 MB, free: 1.121 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001183/0.0111, allocations: 94.34 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.01127, allocations: 189.8 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01127, allocations: 0.6562 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.01132, allocations: 44.78 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.01146, allocations: 18.3 kB / 485.9 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.01172, allocations: 185.9 kB / 486.1 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.01175, allocations: 63.34 kB / 486.2 MB, free: 480 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.01178, allocations: 5.75 kB / 486.2 MB, free: 476 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.01186, allocations: 75.94 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01186, allocations: 1.219 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of Templates: time 0.003564/0.01542, allocations: 1.847 MB / 488.1 MB, free: 14.68 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6258235089480877]