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.001027/0.001027, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009909/0.0009909, allocations: 177 kB / 23.36 MB, free: 1.129 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8728/0.8728, allocations: 154.9 MB / 415.1 MB, free: 232 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.707e-06/3.707e-06, allocations: 0 / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.742e-05, allocations: 2.312 kB / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002589/0.002626, allocations: 0.8579 MB / 481.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004528, allocations: 1.351 MB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.004599, allocations: 4.969 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/0.004645, allocations: 15.8 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004761, allocations: 25.66 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.005555, allocations: 308.3 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.005919, allocations: 299.4 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.006039, allocations: 30.27 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.006268, allocations: 161.3 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.006449, allocations: 83.8 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.0065, allocations: 28 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.006609, allocations: 43.92 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.006643, allocations: 24.53 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.006745, allocations: 88.42 kB / 483.7 MB, free: 3.219 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.007035, allocations: 215.5 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007038, allocations: 0.625 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007039, allocations: 3.938 kB / 483.9 MB, free: 3.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.007044, allocations: 0.625 kB / 483.9 MB, free: 3.004 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005675/0.007612, allocations: 433.3 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.007653, allocations: 12.03 kB / 484.4 MB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.007728, allocations: 21.45 kB / 484.4 MB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.007959, allocations: 154.1 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.007988, allocations: 12.94 kB / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.008025, allocations: 17.75 kB / 484.6 MB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.008161, allocations: 86.28 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.008171, allocations: 4 kB / 484.6 MB, free: 2.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.008183, allocations: 7.984 kB / 484.7 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.008189, allocations: 0.9062 kB / 484.7 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.008242, allocations: 19.95 kB / 484.7 MB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.008719, allocations: 268.7 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.008882, allocations: 47.12 kB / 485 MB, free: 1.852 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.008915, allocations: 14.16 kB / 485 MB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.008924, allocations: 7.938 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.009082, allocations: 95.31 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.983e-06/0.009084, allocations: 0.5312 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002111/0.009295, allocations: 109.6 kB / 485.2 MB, free: 1.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.00933, allocations: 56.47 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.009436, allocations: 154.7 kB / 485.4 MB, free: 1.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.00947, allocations: 34.77 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.009536, allocations: 112.5 kB / 485.6 MB, free: 1.227 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.009566, allocations: 27.78 kB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.009687, allocations: 70.67 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.009785, allocations: 326.8 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.009945, allocations: 145.7 kB / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.01012, allocations: 196.5 kB / 486.3 MB, free: 416 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.01034, allocations: 219.3 kB / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01034, allocations: 0 / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000449/0.01079, allocations: 384.3 kB / 486.9 MB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.01086, allocations: 102 kB / 487 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01087, allocations: 3.938 kB / 487 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01088, allocations: 9 kB / 487 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.01095, allocations: 12 kB / 487 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.01095, allocations: 4 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.01124, allocations: 65.67 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.01128, allocations: 15.98 kB / 487.1 MB, free: 15.52 MB / 458.7 MB 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.0001271/0.01141, allocations: 131.2 kB / 487.2 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01143, allocations: 12 kB / 487.2 MB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.01149, allocations: 17.7 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.0115, allocations: 5.062 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.0115, allocations: 1.25 kB / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01151, allocations: 0 / 487.3 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.01161, allocations: 101.8 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01161, allocations: 4 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.01165, allocations: 12.84 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01165, allocations: 0 / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.01166, allocations: 0.5938 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01166, allocations: 1.844 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01166, allocations: 7.938 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01177, allocations: 117 kB / 487.5 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.01178, allocations: 11.91 kB / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.01179, allocations: 0 / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.01181, allocations: 14.2 kB / 487.5 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.01184, allocations: 5.766 kB / 487.5 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01184, allocations: 11.94 kB / 487.5 MB, free: 15.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.468e-05/0.01187, allocations: 30.14 kB / 487.6 MB, free: 15 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01187, allocations: 0 / 487.6 MB, free: 15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.01202, allocations: 55.92 kB / 487.6 MB, free: 14.95 MB / 458.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: 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.0001206/0.01214, allocations: 89.05 kB / 487.7 MB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.01242, allocations: 389.6 kB / 488.1 MB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01242, allocations: 3.938 kB / 488.1 MB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.01245, allocations: 36.78 kB / 488.1 MB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.0126, allocations: 41.97 kB / 488.2 MB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.01289, allocations: 233.9 kB / 488.4 MB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.01292, allocations: 71.86 kB / 488.5 MB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.041e-05/0.01295, allocations: 10.08 kB / 488.5 MB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.01309, allocations: 95.33 kB / 488.6 MB, free: 13.89 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01309, allocations: 0 / 488.6 MB, free: 13.89 MB / 458.7 MB Notification: Performance of Templates: time 0.004534/0.01762, allocations: 3.257 MB / 491.8 MB, free: 10.88 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.85082383826375]