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.0008708/0.0008708, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008472/0.0008472, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.8988/0.8988, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7519/0.7519, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.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.753e-06/1.753e-06, allocations: 0 / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.583e-05, allocations: 4.609 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002025/0.002051, allocations: 0.8031 MB / 0.5216 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.003867, allocations: 1.331 MB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.003937, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.003981, allocations: 11.81 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.004079, allocations: 28.47 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007597/0.004839, allocations: 317.1 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.005158, allocations: 292.5 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.005271, allocations: 30.77 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.005484, allocations: 167.8 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.005661, allocations: 87.73 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.005713, allocations: 28.72 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.005811, allocations: 39.92 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.005848, allocations: 27.91 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.005945, allocations: 84.52 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.006226, allocations: 226.7 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.00623, allocations: 0 / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006231, allocations: 0 / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.006235, allocations: 0 / 0.5241 GB, free: 14.43 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.0005911/0.006826, allocations: 0.5441 MB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.00687, allocations: 8.031 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.006951, allocations: 36.83 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.007174, allocations: 172.9 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.007201, allocations: 12.38 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.007238, allocations: 21.12 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.007375, allocations: 86.28 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007383, allocations: 0.5625 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.007394, allocations: 4 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.0074, allocations: 4.875 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.00745, allocations: 25.47 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.007968, allocations: 409.5 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.008143, allocations: 67.02 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.008176, allocations: 15.75 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.008184, allocations: 0.9375 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.008335, allocations: 112 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.008337, allocations: 2 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002667/0.008604, allocations: 137.7 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.008642, allocations: 63.33 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.008774, allocations: 215.4 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.008812, allocations: 29.7 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.008898, allocations: 160 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.008924, allocations: 27.8 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.009045, allocations: 79.92 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.009187, allocations: 0.4923 MB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.009355, allocations: 157.7 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.009566, allocations: 244.2 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.00979, allocations: 235.1 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009792, allocations: 0 / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005296/0.01032, allocations: 457 kB / 0.5278 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.0104, allocations: 99.84 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.0104, allocations: 0 / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01042, allocations: 11.92 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.01048, allocations: 8 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01049, allocations: 4 kB / 0.5279 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.01075, allocations: 65.83 kB / 0.528 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.01079, allocations: 23.92 kB / 0.528 GB, free: 10.11 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 0.0001141/0.01091, allocations: 168.6 kB / 0.5282 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.01093, allocations: 16.89 kB / 0.5282 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.01097, allocations: 16.77 kB / 0.5282 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01097, allocations: 7.938 kB / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01097, allocations: 0.7188 kB / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01098, allocations: 0 / 0.5282 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.01111, allocations: 138.1 kB / 0.5284 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.01111, allocations: 4 kB / 0.5284 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.01115, allocations: 17.16 kB / 0.5284 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01115, allocations: 0 / 0.5284 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.01116, allocations: 3.984 kB / 0.5284 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01117, allocations: 4.656 kB / 0.5284 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01117, allocations: 0 / 0.5284 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.01136, allocations: 159.5 kB / 0.5285 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.01138, allocations: 11.91 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.01139, allocations: 0 / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.01142, allocations: 4 kB / 0.5286 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01146, allocations: 19.91 kB / 0.5286 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01147, allocations: 11.92 kB / 0.5286 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.01153, allocations: 141.2 kB / 0.5287 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01153, allocations: 4 kB / 0.5287 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002759/0.01181, allocations: 51.98 kB / 0.5288 GB, free: 9.289 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.0001537/0.01196, allocations: 110.2 kB / 0.5289 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.01235, allocations: 394.8 kB / 0.5293 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01235, allocations: 4 kB / 0.5293 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.01241, allocations: 53.95 kB / 0.5293 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01267, allocations: 29.78 kB / 0.5293 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.01306, allocations: 241.2 kB / 0.5296 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01311, allocations: 63.34 kB / 0.5296 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.01316, allocations: 12.97 kB / 0.5296 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.01335, allocations: 122.2 kB / 0.5298 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.01335, allocations: 0 / 0.5298 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of Templates: time 0.006652/0.02, allocations: 3.275 MB / 0.533 GB, free: 5.094 MB / 0.4948 GB " [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.40837630815804]