Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009433/0.0009433, allocations: 80.81 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.001136/0.001136, allocations: 173 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 0.99/0.99, 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.7771/0.7771, allocations: 154.9 MB / 415.1 MB, free: 224 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0.7656 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.03e-05, allocations: 6.312 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001376/0.001396, allocations: 0.8089 MB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002618, allocations: 1.35 MB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.002674, allocations: 0.5469 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.002706, allocations: 16.7 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.002796, allocations: 26.84 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.003395, allocations: 306.5 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.003674, allocations: 304.2 kB / 483.2 MB, free: 3.781 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.003765, allocations: 34.22 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.003915, allocations: 155.8 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.004039, allocations: 96.33 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.004072, allocations: 25 kB / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.004132, allocations: 32 kB / 483.5 MB, free: 3.441 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.00416, allocations: 31.84 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.004231, allocations: 88.48 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.004439, allocations: 219.4 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004441, allocations: 1.312 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004441, allocations: 0 / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.004444, allocations: 0 / 483.8 MB, free: 3.109 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004081/0.004852, allocations: 433.9 kB / 484.3 MB, free: 2.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.004881, allocations: 8.031 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.004929, allocations: 32.84 kB / 484.3 MB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.005095, allocations: 150.2 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.005113, allocations: 9.438 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.005143, allocations: 24.36 kB / 484.5 MB, free: 2.406 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/0.005239, allocations: 86.28 kB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.005246, allocations: 0.5312 kB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.005254, allocations: 0.9375 kB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005259, allocations: 7.938 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.00529, allocations: 23.94 kB / 484.6 MB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.005607, allocations: 259.3 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.005734, allocations: 58.48 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.005753, allocations: 12.86 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.005759, allocations: 0 / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.791e-05/0.005857, allocations: 100.1 kB / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.005858, allocations: 5.375 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001489/0.006007, allocations: 97.64 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.006038, allocations: 59.39 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.006116, allocations: 154.7 kB / 485.3 MB, free: 1.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.006144, allocations: 38.55 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.00619, allocations: 104.5 kB / 485.5 MB, free: 1.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.006211, allocations: 36.28 kB / 485.5 MB, free: 1.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.006286, allocations: 65.64 kB / 485.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.00637, allocations: 331.8 kB / 485.9 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.006475, allocations: 145.7 kB / 486 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.006592, allocations: 195.7 kB / 486.2 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.006732, allocations: 212.9 kB / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006734, allocations: 4.594 kB / 486.4 MB, free: 264 kB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002741/0.007008, allocations: 394.9 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.007053, allocations: 93.72 kB / 486.9 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007058, allocations: 4 kB / 486.9 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007071, allocations: 4.562 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.007107, allocations: 15.98 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007111, allocations: 4.562 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.007282, allocations: 66.12 kB / 487 MB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.007302, allocations: 11.98 kB / 487 MB, free: 15.62 MB / 458.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.665e-05/0.007379, allocations: 132.3 kB / 487.1 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.007392, allocations: 11.98 kB / 487.2 MB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.007415, allocations: 17.69 kB / 487.2 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007418, allocations: 3.938 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.00742, allocations: 1.844 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007423, allocations: 0 / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.978e-05/0.007502, allocations: 101.8 kB / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007504, allocations: 0 / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.007526, allocations: 11.94 kB / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.007527, allocations: 1.875 kB / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.007535, allocations: 7.984 kB / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007536, allocations: 0 / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007537, allocations: 0 / 487.3 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.007629, allocations: 116.1 kB / 487.4 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.00764, allocations: 17.53 kB / 487.4 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007652, allocations: 3.984 kB / 487.4 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.007668, allocations: 8 kB / 487.4 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.007691, allocations: 7.984 kB / 487.4 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.007695, allocations: 7.938 kB / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.447e-05/0.00772, allocations: 35.7 kB / 487.5 MB, free: 15.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00772, allocations: 0 / 487.5 MB, free: 15.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.007868, allocations: 60.95 kB / 487.5 MB, free: 15.05 MB / 458.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 9.274e-05/0.00796, allocations: 78.39 kB / 487.6 MB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.008225, allocations: 393.8 kB / 488 MB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.008228, allocations: 0 / 488 MB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.008266, allocations: 44.75 kB / 488.1 MB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.008392, allocations: 33.83 kB / 488.1 MB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.008671, allocations: 234.6 kB / 488.3 MB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.008703, allocations: 71.33 kB / 488.4 MB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.008729, allocations: 10.33 kB / 488.4 MB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.008852, allocations: 91.33 kB / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/0.008852, allocations: 0 / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of Templates: time 0.004687/0.01354, allocations: 3.264 MB / 491.7 MB, free: 10.98 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.783969799987972]