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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001329/0.001329, allocations: 165 kB / 23.02 MB, free: 1.547 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.9958/0.9958, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8268/0.8268, allocations: 154.8 MB / 414.7 MB, free: 488 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 3.056e-06/3.056e-06, allocations: 0 / 0.5206 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.589e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002401/0.002436, allocations: 0.8206 MB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.004375, allocations: 1.339 MB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.004453, allocations: 1.219 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.004503, allocations: 11.81 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.004611, allocations: 23.67 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.005499, allocations: 314 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.005885, allocations: 296 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.006022, allocations: 29.61 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.006261, allocations: 160.8 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.006459, allocations: 91.77 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.00652, allocations: 25.62 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.00662, allocations: 35.98 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.006657, allocations: 27.91 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.006777, allocations: 87.8 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.007089, allocations: 224.3 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.007092, allocations: 0 / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.007093, allocations: 0 / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.0071, allocations: 1.406 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB 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.0006731/0.007773, allocations: 0.548 MB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.007817, allocations: 11.97 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.007912, allocations: 28.83 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.008029, allocations: 130.7 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.008068, allocations: 12.38 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.008119, allocations: 20.38 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.008292, allocations: 92.86 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.008304, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.008318, allocations: 9.281 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.008327, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.008407, allocations: 31.97 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.009074, allocations: 436.5 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.009306, allocations: 66.97 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.009352, allocations: 16.47 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.009363, allocations: 7.984 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.009528, allocations: 110.8 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.00953, allocations: 0 / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003468/0.009877, allocations: 160.7 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.009919, allocations: 55.39 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.01007, allocations: 214.6 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.01011, allocations: 29.7 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.01021, allocations: 163.2 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.01024, allocations: 27.75 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.01038, allocations: 83.31 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01054, allocations: 0.4936 MB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.01077, allocations: 169 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.01103, allocations: 248.3 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.01132, allocations: 249.5 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01132, allocations: 0 / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009542/0.01227, allocations: 483.5 kB / 0.5277 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.01234, allocations: 105 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01235, allocations: 0 / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.01237, allocations: 4 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.01243, allocations: 14.38 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01244, allocations: 8 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.01268, allocations: 59.89 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.01271, allocations: 23.98 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB 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 8.961e-05/0.0128, allocations: 178.7 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.01282, allocations: 19.94 kB / 0.5281 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.01285, allocations: 16.72 kB / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01285, allocations: 0 / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01285, allocations: 1.031 kB / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01286, allocations: 3.984 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.01297, allocations: 164.5 kB / 0.5283 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01297, allocations: 0.9375 kB / 0.5283 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.013, allocations: 8 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.013, allocations: 3.188 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01301, allocations: 7.922 kB / 0.5283 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01302, allocations: 7.938 kB / 0.5283 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01302, allocations: 0 / 0.5283 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.01317, allocations: 164.3 kB / 0.5285 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.01318, allocations: 11.91 kB / 0.5285 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.0132, allocations: 0 / 0.5285 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.889e-05/0.01321, allocations: 11.94 kB / 0.5285 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.01325, allocations: 11.97 kB / 0.5285 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01326, allocations: 10.78 kB / 0.5285 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.01331, allocations: 139.7 kB / 0.5286 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 0.5286 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001864/0.0135, allocations: 55.92 kB / 0.5287 GB, free: 9.195 MB / 0.4948 GB 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.0001265/0.01362, allocations: 107.2 kB / 0.5288 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01396, allocations: 420.4 kB / 0.5292 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01396, allocations: 0 / 0.5292 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.01401, allocations: 48.88 kB / 0.5292 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.01421, allocations: 28.58 kB / 0.5293 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.01456, allocations: 251 kB / 0.5295 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.0146, allocations: 64.59 kB / 0.5296 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.01464, allocations: 12.97 kB / 0.5296 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.01466, allocations: 16.5 kB / 0.5296 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.01466, allocations: 1.25 kB / 0.5296 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of Templates: time 0.004674/0.01934, allocations: 3.027 MB / 0.5325 GB, free: 5.293 MB / 0.4948 GB " [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: 4.056649923790246]