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.0009678/0.0009678, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001028/0.001028, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9536/0.9536, allocations: 177.1 MB / 204.5 MB, free: 5.109 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.7772/0.7772, allocations: 154.9 MB / 415.9 MB, free: 244 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.273e-06/1.273e-06, allocations: 0 / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.292e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001261/0.001274, allocations: 0.8065 MB / 0.5227 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.002447, allocations: 1.341 MB / 0.524 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.002492, allocations: 4 kB / 0.524 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.002515, allocations: 7.875 kB / 0.524 GB, free: 15.35 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.002572, allocations: 20.36 kB / 0.524 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.003098, allocations: 317.7 kB / 0.5243 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.003343, allocations: 292.4 kB / 0.5246 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.003426, allocations: 37.59 kB / 0.5246 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.003556, allocations: 159.8 kB / 0.5248 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.003663, allocations: 88.94 kB / 0.5249 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.003693, allocations: 24 kB / 0.5249 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 5.87e-05/0.003752, allocations: 39.98 kB / 0.5249 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003774, allocations: 24.75 kB / 0.525 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.003844, allocations: 91.8 kB / 0.5251 GB, free: 14.28 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004029, allocations: 220 kB / 0.5253 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004031, allocations: 0 / 0.5253 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004031, allocations: 4.719 kB / 0.5253 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004034, allocations: 0 / 0.5253 GB, free: 14.06 MB / 0.4949 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.0003679/0.004402, allocations: 0.5487 MB / 0.5258 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 2.381e-05/0.004426, allocations: 8.531 kB / 0.5258 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.004475, allocations: 28.84 kB / 0.5258 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.004622, allocations: 176 kB / 0.526 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.004638, allocations: 12.38 kB / 0.526 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.004664, allocations: 19.34 kB / 0.526 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.004749, allocations: 87.31 kB / 0.5261 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.004754, allocations: 0 / 0.5261 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.004762, allocations: 8 kB / 0.5261 GB, free: 13.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004766, allocations: 0 / 0.5261 GB, free: 13.1 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.004802, allocations: 19.98 kB / 0.5262 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.005129, allocations: 415.9 kB / 0.5265 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/0.005227, allocations: 60.06 kB / 0.5266 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.005248, allocations: 19.75 kB / 0.5266 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.005254, allocations: 4.5 kB / 0.5266 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.96e-05/0.005343, allocations: 105.5 kB / 0.5267 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.005344, allocations: 0 / 0.5267 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of matching and sorting (n=14): time 0.0001635/0.005508, allocations: 141.6 kB / 0.5269 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.005534, allocations: 59.34 kB / 0.5269 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.005623, allocations: 220.5 kB / 0.5271 GB, free: 11.99 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.005648, allocations: 33.7 kB / 0.5272 GB, free: 11.95 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.00571, allocations: 159.3 kB / 0.5273 GB, free: 11.79 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.005726, allocations: 23.8 kB / 0.5273 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.005816, allocations: 84.27 kB / 0.5274 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003545/0.006171, allocations: 0.4962 MB / 0.5279 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.006282, allocations: 157 kB / 0.5281 GB, free: 11 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.006409, allocations: 224.1 kB / 0.5283 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.006555, allocations: 241.9 kB / 0.5285 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006556, allocations: 0 / 0.5285 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000356/0.006912, allocations: 457.2 kB / 0.5289 GB, free: 9.965 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.006957, allocations: 100.2 kB / 0.529 GB, free: 9.852 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006961, allocations: 4 kB / 0.529 GB, free: 9.848 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.006968, allocations: 7.938 kB / 0.529 GB, free: 9.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-05/0.006999, allocations: 19.92 kB / 0.5291 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.007002, allocations: 5.281 kB / 0.5291 GB, free: 9.816 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.007178, allocations: 62.58 kB / 0.5291 GB, free: 9.758 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.007203, allocations: 23.98 kB / 0.5291 GB, free: 9.734 MB / 0.4949 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.262e-05/0.007286, allocations: 176.5 kB / 0.5293 GB, free: 9.551 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.007302, allocations: 19.94 kB / 0.5293 GB, free: 9.531 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.007323, allocations: 12.77 kB / 0.5293 GB, free: 9.512 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007327, allocations: 10.31 kB / 0.5294 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007328, allocations: 0 / 0.5294 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007331, allocations: 0 / 0.5294 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.781e-05/0.007419, allocations: 141.1 kB / 0.5295 GB, free: 9.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00742, allocations: 0 / 0.5295 GB, free: 9.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.007439, allocations: 8 kB / 0.5295 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.00744, allocations: 0.7188 kB / 0.5295 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.007444, allocations: 0 / 0.5295 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.007447, allocations: 8.922 kB / 0.5295 GB, free: 9.324 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007448, allocations: 0 / 0.5295 GB, free: 9.324 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.007559, allocations: 156.2 kB / 0.5297 GB, free: 9.148 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.007569, allocations: 12.56 kB / 0.5297 GB, free: 9.137 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.00758, allocations: 4 kB / 0.5297 GB, free: 9.133 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.007595, allocations: 7.438 kB / 0.5297 GB, free: 9.129 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.007614, allocations: 19.91 kB / 0.5297 GB, free: 9.109 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007618, allocations: 0 / 0.5297 GB, free: 9.109 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.007658, allocations: 144.5 kB / 0.5298 GB, free: 8.969 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4e-08/0.007658, allocations: 0 / 0.5298 GB, free: 8.969 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001759/0.007834, allocations: 55.98 kB / 0.5299 GB, free: 8.914 MB / 0.4949 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 8.151e-05/0.007916, allocations: 103.1 kB / 0.53 GB, free: 8.805 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.008161, allocations: 417.2 kB / 0.5304 GB, free: 8.344 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.008162, allocations: 0 / 0.5304 GB, free: 8.344 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.008199, allocations: 39.61 kB / 0.5304 GB, free: 8.301 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.008345, allocations: 29.53 kB / 0.5305 GB, free: 8.273 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.00857, allocations: 245.6 kB / 0.5307 GB, free: 8.004 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.008597, allocations: 64.53 kB / 0.5307 GB, free: 7.922 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.00862, allocations: 12.97 kB / 0.5308 GB, free: 7.91 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.008751, allocations: 118.2 kB / 0.5309 GB, free: 7.793 MB / 0.4949 GB Notification: Performance of SimCode: time 4.11e-07/0.008752, allocations: 2.125 kB / 0.5309 GB, free: 7.793 MB / 0.4949 GB Notification: Performance of Templates: time 0.004229/0.01298, allocations: 3.356 MB / 0.5342 GB, free: 4.625 MB / 0.4949 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: 3.8590918639674783]