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.001412/0.001412, allocations: 84.73 kB / 19.44 MB, free: 360 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.001576/0.001576, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.8 MB / 414.4 MB, free: 444 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 178] 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.656e-06/3.656e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.184e-05, allocations: 5.812 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.003441/0.003483, allocations: 0.7888 MB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.006643, allocations: 1.319 MB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.00674, allocations: 5.219 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.006801, allocations: 7.875 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.006971, allocations: 32.34 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.008427, allocations: 312.9 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.00907, allocations: 288.5 kB / 0.5226 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.009253, allocations: 30.48 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.009677, allocations: 163.8 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.01, allocations: 83.8 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.01012, allocations: 29.22 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.01027, allocations: 43.92 kB / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.01033, allocations: 23.91 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.01054, allocations: 84.64 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.01125, allocations: 311.1 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.01126, allocations: 4.531 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.01126, allocations: 0.875 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.01126, allocations: 0 / 0.5233 GB, free: 14.8 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.001028/0.01229, allocations: 454.9 kB / 0.5237 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.01234, allocations: 12.62 kB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.01246, allocations: 29.33 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.01261, allocations: 128.3 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.01267, allocations: 16.36 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.01272, allocations: 20.38 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.01293, allocations: 88.66 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.01294, allocations: 4 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01296, allocations: 4 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.01296, allocations: 3.938 kB / 0.524 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.01309, allocations: 51.97 kB / 0.5241 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.01384, allocations: 376.1 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.01411, allocations: 70.67 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.01417, allocations: 25.84 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01419, allocations: 7.984 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.01448, allocations: 107.8 kB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.01449, allocations: 0.5625 kB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0004522/0.01494, allocations: 185.3 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.015, allocations: 55.41 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.01516, allocations: 159.8 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.01521, allocations: 35.3 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01533, allocations: 112.5 kB / 0.5252 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.01537, allocations: 27.8 kB / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.01554, allocations: 73.67 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.01576, allocations: 331.7 kB / 0.5256 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.01606, allocations: 185 kB / 0.5257 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.01645, allocations: 238.5 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.01683, allocations: 252.4 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01684, allocations: 0 / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009377/0.01777, allocations: 0.501 MB / 0.5267 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.01788, allocations: 105 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.01789, allocations: 5.422 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.01791, allocations: 7.984 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.01798, allocations: 11.94 kB / 0.5268 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01799, allocations: 5.406 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.01849, allocations: 86.55 kB / 0.5269 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.01853, allocations: 15.98 kB / 0.5269 GB, free: 10.77 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.0001619/0.0187, allocations: 137.8 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.01873, allocations: 15.89 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.01876, allocations: 14.97 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01877, allocations: 4 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01877, allocations: 0 / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01878, allocations: 3.984 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01897, allocations: 153.2 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01898, allocations: 4 kB / 0.5272 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.01903, allocations: 16.8 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01903, allocations: 0 / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01905, allocations: 4.844 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01905, allocations: 3.938 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01905, allocations: 0.5 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.01934, allocations: 169 kB / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.01936, allocations: 12.94 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01939, allocations: 4 kB / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.01943, allocations: 12.52 kB / 0.5275 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.01948, allocations: 11.98 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01949, allocations: 7.438 kB / 0.5275 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.695e-05/0.01959, allocations: 107.8 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01959, allocations: 0 / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002937/0.01988, allocations: 48 kB / 0.5276 GB, free: 10 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.0002083/0.02009, allocations: 111.2 kB / 0.5277 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.02075, allocations: 430.1 kB / 0.5281 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02075, allocations: 3.938 kB / 0.5281 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.02084, allocations: 39.98 kB / 0.5282 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.02115, allocations: 35.08 kB / 0.5282 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.02186, allocations: 254.8 kB / 0.5285 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.02197, allocations: 96.52 kB / 0.5286 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.02202, allocations: 8.984 kB / 0.5286 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.02206, allocations: 20.48 kB / 0.5286 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.02206, allocations: 0 / 0.5286 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of Templates: time 0.007423/0.02948, allocations: 3.032 MB / 0.5315 GB, free: 6.059 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.977844550972804]