Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.000796/0.000796, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002036, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001548/0.001548, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001843/0.003391, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09642/1.12, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7541/0.7541, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3257/1.08, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.157e-05, allocations: 2.312 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001834/0.001856, allocations: 0.7277 MB / 450.4 MB, free: 4.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.003732, allocations: 1.329 MB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.003777, allocations: 2.969 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.003804, allocations: 3.938 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.003868, allocations: 19.25 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.00454, allocations: 296.1 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.004884, allocations: 254.3 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.004969, allocations: 12.17 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005175, allocations: 155.8 kB / 452.5 MB, free: 2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.005336, allocations: 80.89 kB / 452.6 MB, free: 1.922 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.005383, allocations: 20 kB / 452.6 MB, free: 1.902 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.005488, allocations: 36 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.005516, allocations: 15.39 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.00561, allocations: 51.94 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.005874, allocations: 147.7 kB / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.005892, allocations: 0 / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005893, allocations: 0 / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.00591, allocations: 0 / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005773/0.006487, allocations: 415.4 kB / 453.2 MB, free: 1.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.006525, allocations: 12.02 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.006586, allocations: 20.86 kB / 453.3 MB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.006692, allocations: 120.4 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.006719, allocations: 4.375 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.006757, allocations: 22.23 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.00686, allocations: 62.92 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006868, allocations: 192 / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.006876, allocations: 384 / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.006883, allocations: 12.06 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.006911, allocations: 10.17 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.007291, allocations: 209.7 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.007343, allocations: 23.42 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.007365, allocations: 12.94 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.007372, allocations: 0 / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.007518, allocations: 92.16 kB / 453.8 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.007519, allocations: 0.625 kB / 453.8 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001941/0.007713, allocations: 93.52 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.007752, allocations: 60.19 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.007848, allocations: 138.5 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.007879, allocations: 34.23 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.00794, allocations: 97.34 kB / 454.2 MB, free: 112 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.007962, allocations: 23.83 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.008072, allocations: 57.66 kB / 454.3 MB, free: 24 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.008179, allocations: 322.8 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.008336, allocations: 146.1 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.00851, allocations: 195.1 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.00872, allocations: 218.3 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.008723, allocations: 0 / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004193/0.009143, allocations: 382.8 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.00923, allocations: 109 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.009237, allocations: 0 / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009251, allocations: 4.656 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.718e-05/0.009278, allocations: 4 kB / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.009282, allocations: 1.328 kB / 455.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.009503, allocations: 61.41 kB / 455.7 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.009529, allocations: 24.84 kB / 455.7 MB, free: 14.43 MB / 442.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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.129e-05/0.00961, allocations: 134.6 kB / 455.9 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.009625, allocations: 11.98 kB / 455.9 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.009651, allocations: 13 kB / 455.9 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009653, allocations: 0 / 455.9 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009655, allocations: 0.625 kB / 455.9 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009658, allocations: 4.891 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.152e-05/0.00974, allocations: 86.48 kB / 456 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009741, allocations: 3.938 kB / 456 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-06/0.00975, allocations: 4.625 kB / 456 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.009757, allocations: 4.578 kB / 456 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.00976, allocations: 4 kB / 456 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.009766, allocations: 4.562 kB / 456 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009767, allocations: 0.5625 kB / 456 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.00977, allocations: 3.984 kB / 456 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.009859, allocations: 93.8 kB / 456.1 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.009871, allocations: 7.984 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.009886, allocations: 1.781 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.009914, allocations: 18.45 kB / 456.1 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.009918, allocations: 0 / 456.1 MB, free: 14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.12e-05/0.009939, allocations: 28.48 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009939, allocations: 0 / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000146/0.01009, allocations: 41.41 kB / 456.2 MB, free: 13.94 MB / 442.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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001263/0.01021, allocations: 94.69 kB / 456.3 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.01049, allocations: 391.2 kB / 456.7 MB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.01049, allocations: 0 / 456.7 MB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.01052, allocations: 28.8 kB / 456.7 MB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.01066, allocations: 35.19 kB / 456.7 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.01112, allocations: 184.2 kB / 456.9 MB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01116, allocations: 63.2 kB / 457 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.01119, allocations: 14.39 kB / 457 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.01132, allocations: 87.33 kB / 457.1 MB, free: 12.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01132, allocations: 3.938 kB / 457.1 MB, free: 12.95 MB / 442.7 MB Notification: Performance of Templates: time 0.004776/0.0161, allocations: 3.257 MB / 460.3 MB, free: 9.918 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7182512572035193]