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.0006852/0.0006852, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009335/0.001619, 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.0006939/0.0006939, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009846/0.001678, 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.9631/0.9631, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8542/0.8542, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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.2731/1.127, allocations: 49.05 MB / 447.8 MB, free: 6.574 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 2.014e-06/2.014e-06, allocations: 0 / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.119e-05, allocations: 4.844 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001227/0.001248, allocations: 0.7371 MB / 449.9 MB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.002443, allocations: 1.324 MB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.002483, allocations: 0 / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.002509, allocations: 11.92 kB / 451.2 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.002559, allocations: 14.38 kB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.003038, allocations: 293.7 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.003302, allocations: 262 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.003383, allocations: 8.188 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.003532, allocations: 154.7 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.00366, allocations: 71.88 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.003694, allocations: 25.97 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.003779, allocations: 31.98 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.003802, allocations: 11.94 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.003861, allocations: 55.92 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.004058, allocations: 151.7 kB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.00407, allocations: 0 / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00407, allocations: 0.6562 kB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.004084, allocations: 0.625 kB / 452.3 MB, free: 2.195 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.0004782/0.004563, allocations: 415.4 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.004605, allocations: 11.34 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.004667, allocations: 24.84 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.004768, allocations: 113.7 kB / 452.8 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.004792, allocations: 16.36 kB / 452.9 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.00482, allocations: 12.38 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.004939, allocations: 66.91 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004948, allocations: 0.8438 kB / 452.9 MB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004956, allocations: 4.375 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.004964, allocations: 4.125 kB / 452.9 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.004982, allocations: 8.906 kB / 453 MB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.005345, allocations: 209.6 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.005392, allocations: 25.67 kB / 453.2 MB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.00541, allocations: 12.86 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.005416, allocations: 0 / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.005539, allocations: 95.42 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.00554, allocations: 0.875 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001622/0.005702, allocations: 93.53 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.005736, allocations: 60.3 kB / 453.4 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.005816, allocations: 132.7 kB / 453.6 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.005853, allocations: 45.62 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.005898, allocations: 93.12 kB / 453.7 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.005916, allocations: 19.84 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.005987, allocations: 66.95 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.006072, allocations: 318.8 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.006177, allocations: 145.1 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.006308, allocations: 195 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.006453, allocations: 219.2 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006455, allocations: 0 / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002697/0.006725, allocations: 387.2 kB / 455 MB, free: 15.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.006791, allocations: 101.8 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.006798, allocations: 3.984 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.006814, allocations: 5.5 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.006835, allocations: 4 kB / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006839, allocations: 0 / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.007053, allocations: 65.39 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.007075, allocations: 11.98 kB / 455.2 MB, free: 14.97 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.126e-05/0.007156, allocations: 135.5 kB / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.007168, allocations: 11.98 kB / 455.4 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.007192, allocations: 17.78 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007194, allocations: 0.5625 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.007198, allocations: 5.219 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007201, allocations: 0 / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.11e-05/0.007272, allocations: 81.88 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007273, allocations: 0 / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.00728, allocations: 4.734 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.007287, allocations: 7.953 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.007288, allocations: 0.5 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007295, allocations: 8.625 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.007296, allocations: 0 / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007297, allocations: 0.625 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.007379, allocations: 102 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.007389, allocations: 0 / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.007403, allocations: 4.625 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.007432, allocations: 11.92 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.007438, allocations: 12.55 kB / 455.6 MB, free: 14.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.249e-05/0.007461, allocations: 23.61 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007461, allocations: 0 / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007603, allocations: 40 kB / 455.7 MB, free: 14.47 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.0001025/0.007706, allocations: 104.2 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.007968, allocations: 382.1 kB / 456.1 MB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.007972, allocations: 4 kB / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.008002, allocations: 32.78 kB / 456.2 MB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.008179, allocations: 192.5 kB / 456.4 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.008603, allocations: 179.8 kB / 456.5 MB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.008638, allocations: 63.34 kB / 456.6 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.008662, allocations: 10.72 kB / 456.6 MB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.008828, allocations: 91.33 kB / 456.7 MB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008829, allocations: 3.938 kB / 456.7 MB, free: 13.29 MB / 442.7 MB Notification: Performance of Templates: time 0.004213/0.01304, allocations: 3.197 MB / 459.9 MB, free: 10.3 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.6812208024784923]