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.0009144/0.0009144, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.00206, allocations: 440 kB / 10.41 MB, free: 284 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.0009033/0.0009033, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002123, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9851/0.9851, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08258/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7876/0.7876, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2482/1.036, allocations: 49.13 MB / 448.6 MB, free: 5.934 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.262e-06/1.262e-06, allocations: 0 / 450 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.354e-05, allocations: 5.75 kB / 450 MB, free: 4.621 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001404/0.001418, allocations: 0.7347 MB / 450.7 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.002652, allocations: 1.318 MB / 452 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.002686, allocations: 2.609 kB / 452 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.002707, allocations: 3.938 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.002757, allocations: 22.47 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.003259, allocations: 293.2 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.003532, allocations: 264.3 kB / 452.6 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.683e-05/0.003599, allocations: 9.047 kB / 452.6 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.003765, allocations: 152.2 kB / 452.7 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.003891, allocations: 75.81 kB / 452.8 MB, free: 1.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.003931, allocations: 24 kB / 452.8 MB, free: 1.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.004016, allocations: 36.61 kB / 452.9 MB, free: 1.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.004041, allocations: 11.94 kB / 452.9 MB, free: 1.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/0.004108, allocations: 53.03 kB / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004299, allocations: 151.7 kB / 453.1 MB, free: 1.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.004308, allocations: 0 / 453.1 MB, free: 1.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004308, allocations: 0.875 kB / 453.1 MB, free: 1.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.004315, allocations: 0 / 453.1 MB, free: 1.551 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.0004394/0.004755, allocations: 416 kB / 453.5 MB, free: 1.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.004784, allocations: 12.03 kB / 453.5 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.004832, allocations: 18.61 kB / 453.5 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.00491, allocations: 124.3 kB / 453.6 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.004928, allocations: 8.375 kB / 453.7 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.004961, allocations: 16.38 kB / 453.7 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.061e-05/0.005042, allocations: 64.31 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005049, allocations: 4.172 kB / 453.7 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.005056, allocations: 2.062 kB / 453.7 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005063, allocations: 4.125 kB / 453.7 MB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.005082, allocations: 8.844 kB / 453.8 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.008397, allocations: 205.7 kB / 454 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.008454, allocations: 27.75 kB / 454 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.008473, allocations: 12.86 kB / 454 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.008479, allocations: 0 / 454 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.008592, allocations: 88.12 kB / 454.1 MB, free: 472 kB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.008594, allocations: 4 kB / 454.1 MB, free: 468 kB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001566/0.00875, allocations: 96.73 kB / 454.2 MB, free: 368 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.008784, allocations: 59.41 kB / 454.2 MB, free: 296 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.008859, allocations: 134.5 kB / 454.4 MB, free: 148 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.008894, allocations: 37.7 kB / 454.4 MB, free: 104 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.008944, allocations: 96.11 kB / 454.5 MB, free: 4 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.008976, allocations: 15.94 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.009071, allocations: 69.44 kB / 454.6 MB, free: 15.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.009157, allocations: 326.8 kB / 454.9 MB, free: 15.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.009283, allocations: 150 kB / 455 MB, free: 15.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.009428, allocations: 195 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.009592, allocations: 213.1 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009594, allocations: 0 / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000327/0.009921, allocations: 385.5 kB / 455.8 MB, free: 14.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.009981, allocations: 101 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.009985, allocations: 4.625 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.009997, allocations: 0.625 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.807e-05/0.01001, allocations: 4 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.01002, allocations: 16.73 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.01025, allocations: 62.31 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.01029, allocations: 11.98 kB / 456 MB, free: 14.32 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 7.952e-05/0.01037, allocations: 129.8 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.01038, allocations: 5.656 kB / 456.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.01041, allocations: 20.36 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01041, allocations: 0.75 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01041, allocations: 0 / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01041, allocations: 0.625 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.0105, allocations: 85.88 kB / 456.3 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0105, allocations: 4.969 kB / 456.3 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.01051, allocations: 3.938 kB / 456.3 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01052, allocations: 14.14 kB / 456.3 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01052, allocations: 0 / 456.3 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.01053, allocations: 3.938 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01053, allocations: 4 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01053, allocations: 1.188 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.01063, allocations: 101 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.01064, allocations: 0 / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.01066, allocations: 5.062 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.01068, allocations: 11.92 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.01069, allocations: 4 kB / 456.4 MB, free: 13.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.177e-05/0.01071, allocations: 23.94 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.0109, allocations: 49.36 kB / 456.5 MB, free: 13.82 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.0001119/0.01102, allocations: 96.28 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.01131, allocations: 384.3 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01132, allocations: 0 / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.01138, allocations: 33.25 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01157, allocations: 198.7 kB / 457.2 MB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.01201, allocations: 184.1 kB / 457.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.01204, allocations: 64.44 kB / 457.4 MB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.01207, allocations: 17.83 kB / 457.4 MB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.01222, allocations: 91.33 kB / 457.5 MB, free: 12.63 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01222, allocations: 0.9375 kB / 457.5 MB, free: 12.63 MB / 442.7 MB Notification: Performance of Templates: time 0.004916/0.01714, allocations: 3.203 MB / 460.7 MB, free: 9.656 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.5846476685255766]