Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009939/0.0009939, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002304, 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.001023/0.001023, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002274, 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 0.9867/0.9867, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08691/1.074, 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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8145/0.8145, allocations: 154.6 MB / 398.5 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2907/1.105, allocations: 49.04 MB / 447.6 MB, free: 6.691 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/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.475e-05, allocations: 4.703 kB / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002133/0.002158, allocations: 0.7227 MB / 449.6 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.003854, allocations: 1.322 MB / 450.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.003899, allocations: 0.5469 kB / 450.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.003927, allocations: 7.922 kB / 450.9 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.003995, allocations: 25 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.004688, allocations: 287.9 kB / 451.2 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.005048, allocations: 260.4 kB / 451.5 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.005134, allocations: 16.17 kB / 451.5 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.005334, allocations: 148.5 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.005487, allocations: 75.81 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.005529, allocations: 25.66 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.005628, allocations: 31.98 kB / 451.8 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.005651, allocations: 15.88 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.005731, allocations: 55.92 kB / 451.9 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.005965, allocations: 147.7 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.005982, allocations: 0.9062 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005983, allocations: 4 kB / 452 MB, free: 2.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.006002, allocations: 1.875 kB / 452 MB, free: 2.336 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.0005916/0.006594, allocations: 411.4 kB / 452.4 MB, free: 1.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.006631, allocations: 12.03 kB / 452.4 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.006694, allocations: 20.91 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.006804, allocations: 113.7 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.006848, allocations: 13.25 kB / 452.6 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.00688, allocations: 12.38 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.006987, allocations: 72.17 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006995, allocations: 4.125 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.007003, allocations: 4.375 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.007017, allocations: 4.125 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.007045, allocations: 12.67 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.007428, allocations: 203.5 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.007482, allocations: 26.52 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.007503, allocations: 8.859 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.007509, allocations: 0.9062 kB / 452.9 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.007663, allocations: 96.3 kB / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.464e-06/0.007666, allocations: 1.312 kB / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001995/0.007865, allocations: 93.53 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.007912, allocations: 55.39 kB / 453.1 MB, free: 1.074 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.008019, allocations: 145.2 kB / 453.3 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.008056, allocations: 33.7 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.008113, allocations: 93.34 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.008137, allocations: 23.84 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.008248, allocations: 61.64 kB / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.008348, allocations: 323.8 kB / 453.8 MB, free: 384 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.008506, allocations: 153 kB / 454 MB, free: 212 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.008682, allocations: 197.3 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.008881, allocations: 210.3 kB / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.008885, allocations: 0 / 454.4 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004031/0.009288, allocations: 386.5 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.009369, allocations: 105 kB / 454.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.009377, allocations: 0 / 454.8 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.009388, allocations: 4 kB / 454.8 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.009416, allocations: 8.688 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.009423, allocations: 7.938 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.009722, allocations: 61.58 kB / 454.9 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.009764, allocations: 19.36 kB / 454.9 MB, free: 15.1 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 0.0001111/0.009875, allocations: 129.8 kB / 455.1 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.009896, allocations: 11.98 kB / 455.1 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.009936, allocations: 12.38 kB / 455.1 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.009942, allocations: 5.172 kB / 455.1 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009945, allocations: 0 / 455.1 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009947, allocations: 0 / 455.1 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.01005, allocations: 77.88 kB / 455.2 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01006, allocations: 0.5 kB / 455.2 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.01008, allocations: 12.45 kB / 455.2 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.01009, allocations: 7.953 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01009, allocations: 1.281 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.0101, allocations: 7.938 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0101, allocations: 0 / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0101, allocations: 0.6875 kB / 455.2 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.01024, allocations: 97.03 kB / 455.3 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.01025, allocations: 0.5625 kB / 455.3 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.479e-05/0.01027, allocations: 4.625 kB / 455.3 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.01031, allocations: 11.92 kB / 455.3 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01031, allocations: 4.609 kB / 455.3 MB, free: 14.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.01035, allocations: 29.67 kB / 455.3 MB, free: 14.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01035, allocations: 0.625 kB / 455.3 MB, free: 14.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000242/0.01059, allocations: 40.62 kB / 455.4 MB, free: 14.61 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.0001561/0.01074, allocations: 88.97 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.01111, allocations: 390.6 kB / 455.9 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01112, allocations: 4 kB / 455.9 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.01116, allocations: 28.84 kB / 455.9 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01136, allocations: 31.28 kB / 455.9 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.012, allocations: 193.5 kB / 456.1 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01204, allocations: 59.92 kB / 456.2 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.157e-05/0.01208, allocations: 10.48 kB / 456.2 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.01226, allocations: 95.33 kB / 456.3 MB, free: 13.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01226, allocations: 1.531 kB / 456.3 MB, free: 13.62 MB / 442.7 MB Notification: Performance of Templates: time 0.00649/0.01875, allocations: 3.252 MB / 459.5 MB, free: 10.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.684484088793397]