Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.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.001084/0.001084, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002835, 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.001091/0.001091, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002522, 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.9985/0.9985, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09728/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7927/0.7927, allocations: 154.6 MB / 398.8 MB, free: 368 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.2798/1.073, allocations: 49.05 MB / 447.8 MB, free: 6.59 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.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.085e-05, allocations: 4.562 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001462/0.001483, allocations: 0.8587 MB / 450 MB, free: 4.449 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.002731, allocations: 1.346 MB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.002783, allocations: 4 kB / 451.4 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.002816, allocations: 8.625 kB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.002876, allocations: 27.94 kB / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.003359, allocations: 310.1 kB / 451.7 MB, free: 2.758 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.003625, allocations: 283.4 kB / 452 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.003723, allocations: 32.09 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.003892, allocations: 177.5 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.004044, allocations: 83.8 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.004081, allocations: 24 kB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.00417, allocations: 40.67 kB / 452.3 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.004198, allocations: 20.98 kB / 452.4 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.004261, allocations: 59.94 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.004467, allocations: 175.5 kB / 452.6 MB, free: 1.906 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.00448, allocations: 0.9062 kB / 452.6 MB, free: 1.906 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00448, allocations: 0 / 452.6 MB, free: 1.906 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.004494, allocations: 0 / 452.6 MB, free: 1.906 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005297/0.005023, allocations: 463.8 kB / 453 MB, free: 1.414 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.005055, allocations: 17.67 kB / 453.1 MB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.005109, allocations: 24.92 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.00528, allocations: 146.2 kB / 453.2 MB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.0053, allocations: 8.375 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.005332, allocations: 21.45 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005441, allocations: 90.91 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.005449, allocations: 0 / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005459, allocations: 9.078 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005465, allocations: 0 / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.005496, allocations: 16 kB / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.005837, allocations: 269.3 kB / 453.6 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.005973, allocations: 45.28 kB / 453.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.005994, allocations: 16.84 kB / 453.7 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.006002, allocations: 4 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.006113, allocations: 109.4 kB / 453.8 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.006114, allocations: 0 / 453.8 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001505/0.006265, allocations: 101.6 kB / 453.9 MB, free: 500 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.006295, allocations: 55.41 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.006374, allocations: 160.1 kB / 454.1 MB, free: 260 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.006399, allocations: 33.7 kB / 454.1 MB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.006448, allocations: 112.5 kB / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.006469, allocations: 37.64 kB / 454.3 MB, free: 68 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.00654, allocations: 61.66 kB / 454.3 MB, free: 0 / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.006623, allocations: 326.9 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.006729, allocations: 157 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.006849, allocations: 203 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.006989, allocations: 221.5 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006991, allocations: 0 / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000269/0.00726, allocations: 397.3 kB / 455.6 MB, free: 14.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.007321, allocations: 102.6 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007326, allocations: 0 / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.007341, allocations: 7.938 kB / 455.7 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.007384, allocations: 13.72 kB / 455.7 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.007387, allocations: 3.938 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.007573, allocations: 72.56 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.007597, allocations: 15.98 kB / 455.8 MB, free: 14.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.853e-05/0.007675, allocations: 126.8 kB / 456 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.007687, allocations: 13.3 kB / 456 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.007716, allocations: 20.77 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.00772, allocations: 7.938 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007722, allocations: 0.6562 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007726, allocations: 0 / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.435e-05/0.00781, allocations: 95.02 kB / 456.1 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007813, allocations: 7.938 kB / 456.1 MB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.00784, allocations: 11.98 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.007852, allocations: 9.016 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007854, allocations: 4 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.00786, allocations: 4 kB / 456.1 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007861, allocations: 1.156 kB / 456.1 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007863, allocations: 3.938 kB / 456.1 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007964, allocations: 110.1 kB / 456.2 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007975, allocations: 4.719 kB / 456.2 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.007993, allocations: 0 / 456.2 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.008024, allocations: 21.41 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.00803, allocations: 7.938 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.838e-05/0.008059, allocations: 30.7 kB / 456.3 MB, free: 13.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008059, allocations: 0 / 456.3 MB, free: 13.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.008208, allocations: 53.45 kB / 456.4 MB, free: 13.79 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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 0.0001345/0.008343, allocations: 88.34 kB / 456.4 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.008618, allocations: 404.4 kB / 456.8 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.008623, allocations: 4 kB / 456.8 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.008664, allocations: 38.5 kB / 456.9 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.008851, allocations: 197.3 kB / 457.1 MB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.009321, allocations: 240.9 kB / 457.3 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.009354, allocations: 67.34 kB / 457.4 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.009383, allocations: 14.12 kB / 457.4 MB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.009512, allocations: 95.33 kB / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009513, allocations: 0.8438 kB / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of Templates: time 0.004495/0.01401, allocations: 3.329 MB / 460.8 MB, free: 9.438 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.82882322371006]