Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009338/0.0009338, 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.0009511/0.0009511, 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 0.9338/0.9338, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.8096/0.8096, allocations: 154.9 MB / 415.1 MB, free: 192 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.144e-05, allocations: 2.312 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001421/0.001442, allocations: 0.78 MB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.002805, allocations: 1.215 MB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002856, allocations: 4 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.002889, allocations: 3.938 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.002972, allocations: 17.39 kB / 482.4 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.003343, allocations: 133.6 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.003501, allocations: 121.7 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.003571, allocations: 20.97 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003676, allocations: 67.88 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.00375, allocations: 43.86 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.00377, allocations: 12.66 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.003824, allocations: 23.98 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.003844, allocations: 13.22 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.003881, allocations: 35.95 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.004006, allocations: 107.6 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004007, allocations: 0.625 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004008, allocations: 4 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.004011, allocations: 2.875 kB / 483 MB, free: 3.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003653/0.004376, allocations: 309.5 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004405, allocations: 8.031 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.004437, allocations: 12.92 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.733e-05/0.004514, allocations: 113.7 kB / 483.5 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004526, allocations: 8.375 kB / 483.5 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.004543, allocations: 4.375 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.004645, allocations: 71.73 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004652, allocations: 3.312 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.004661, allocations: 8.359 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004666, allocations: 1 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.004689, allocations: 11.88 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.004918, allocations: 185.1 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.004954, allocations: 18.58 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.004974, allocations: 21.56 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004987, allocations: 4.625 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.197e-05/0.005059, allocations: 59.33 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.005059, allocations: 0.625 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001178/0.005177, allocations: 70.42 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.005206, allocations: 55.39 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.005274, allocations: 127.4 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.005292, allocations: 33.64 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.00534, allocations: 96.73 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005358, allocations: 12.45 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.005403, allocations: 33.69 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.005477, allocations: 323.6 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.005522, allocations: 45.69 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.005573, allocations: 74.05 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.00564, allocations: 80.17 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005642, allocations: 0 / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001207/0.005763, allocations: 157.7 kB / 484.9 MB, free: 1.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.005786, allocations: 34.69 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.005792, allocations: 7.938 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005804, allocations: 0 / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.005866, allocations: 12.73 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00587, allocations: 4.062 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.005949, allocations: 29.14 kB / 485 MB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.005963, allocations: 12.58 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 5.948e-05/0.006023, allocations: 110.9 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.006032, allocations: 4 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.006055, allocations: 16.36 kB / 485.2 MB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006056, allocations: 4.594 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006058, allocations: 0 / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006062, allocations: 4.531 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.392e-05/0.006126, allocations: 79.03 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006127, allocations: 0 / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.006155, allocations: 13.11 kB / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006157, allocations: 9.875 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.006161, allocations: 0 / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006162, allocations: 0 / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006164, allocations: 3.938 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.403e-05/0.006238, allocations: 77.09 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006247, allocations: 12.58 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.006256, allocations: 0 / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.006278, allocations: 9.172 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.006308, allocations: 11.88 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.006314, allocations: 11.98 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.481e-05/0.006329, allocations: 16.67 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006329, allocations: 1.312 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000118/0.006447, allocations: 20 kB / 485.4 MB, free: 1.285 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.652e-05/0.006533, allocations: 85.38 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.006668, allocations: 145.9 kB / 485.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.00667, allocations: 0.5 kB / 485.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.006702, allocations: 21.34 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.633e-05/0.006798, allocations: 17.2 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.007031, allocations: 157.2 kB / 485.8 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.597e-05/0.007057, allocations: 56.58 kB / 485.9 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.007078, allocations: 7.984 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.007158, allocations: 71.89 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.007158, allocations: 1 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of Templates: time 0.00296/0.01012, allocations: 1.732 MB / 487.7 MB, free: 15.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6752029289491475]