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.0009259/0.0009259, 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.000986/0.000986, allocations: 177.4 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 0.9559/0.9559, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.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.7746/0.7746, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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. " [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.374e-06/2.374e-06, allocations: 0.6562 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.762e-05, allocations: 5.047 kB / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.004849/0.004876, allocations: 0.6899 MB / 480.7 MB, free: 6.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.006362, allocations: 1.319 MB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.006406, allocations: 0 / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.006436, allocations: 9.078 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.006531, allocations: 27.58 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.007182, allocations: 297.8 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.01049, allocations: 261.5 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.01057, allocations: 8.188 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.01074, allocations: 140.5 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.01089, allocations: 83.73 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.01092, allocations: 27.05 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.011, allocations: 31.98 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.01103, allocations: 12 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.01111, allocations: 79.86 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.01134, allocations: 191.5 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01135, allocations: 4 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01135, allocations: 4 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.01135, allocations: 0 / 483.2 MB, free: 3.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004309/0.01178, allocations: 389.5 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.01182, allocations: 8.031 kB / 483.6 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.01187, allocations: 17.83 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.01196, allocations: 121.7 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.01198, allocations: 9.281 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.01201, allocations: 16.38 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.0121, allocations: 62.88 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.01211, allocations: 1.375 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.01212, allocations: 5.531 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.01212, allocations: 4.125 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.01214, allocations: 12.61 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.01246, allocations: 196.8 kB / 484 MB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.01251, allocations: 34.58 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.01253, allocations: 13.5 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.01253, allocations: 0.5312 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.01264, allocations: 84 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.01265, allocations: 0 / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001714/0.01282, allocations: 98.75 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.01285, allocations: 60.16 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.01294, allocations: 148.3 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.01297, allocations: 38.92 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.01303, allocations: 96.11 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.01304, allocations: 23.84 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003093/0.01614, allocations: 57.66 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.01622, allocations: 323.5 kB / 485 MB, free: 1.832 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.01636, allocations: 141.1 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.01651, allocations: 192 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.01669, allocations: 217.8 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01669, allocations: 0 / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003527/0.01704, allocations: 368 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.01711, allocations: 97.03 kB / 485.9 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01711, allocations: 4 kB / 485.9 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01713, allocations: 0 / 485.9 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.01715, allocations: 12.98 kB / 486 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.01715, allocations: 4 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.0174, allocations: 61.47 kB / 486 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.01743, allocations: 19.97 kB / 486 MB, free: 0.5898 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 9.004e-05/0.01752, allocations: 119.9 kB / 486.2 MB, free: 476 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01754, allocations: 15.98 kB / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.01757, allocations: 13.31 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01757, allocations: 4 kB / 486.2 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01758, allocations: 0.7812 kB / 486.2 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01758, allocations: 0 / 486.2 MB, free: 444 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.054e-05/0.01767, allocations: 82.61 kB / 486.3 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01767, allocations: 3.938 kB / 486.3 MB, free: 340 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.01768, allocations: 6 kB / 486.3 MB, free: 336 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01768, allocations: 0 / 486.3 MB, free: 336 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01769, allocations: 3.984 kB / 486.3 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.01769, allocations: 0 / 486.3 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01769, allocations: 3.938 kB / 486.3 MB, free: 328 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.0178, allocations: 101.8 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.01781, allocations: 4.844 kB / 486.4 MB, free: 204 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.01782, allocations: 4.75 kB / 486.4 MB, free: 200 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.01785, allocations: 7.938 kB / 486.4 MB, free: 192 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.01787, allocations: 12.42 kB / 486.4 MB, free: 180 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.01788, allocations: 0.5938 kB / 486.4 MB, free: 180 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.01791, allocations: 28.83 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01791, allocations: 1.156 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.01813, allocations: 47.92 kB / 486.5 MB, free: 100 kB / 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.0001318/0.01826, allocations: 81.36 kB / 486.6 MB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.01859, allocations: 381.5 kB / 487 MB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.0186, allocations: 4 kB / 487 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.01863, allocations: 29.53 kB / 487 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01881, allocations: 35.36 kB / 487 MB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.0194, allocations: 183 kB / 487.2 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.01943, allocations: 63.34 kB / 487.3 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.01946, allocations: 6.656 kB / 487.3 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.01958, allocations: 95.33 kB / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01958, allocations: 0 / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of Templates: time 0.004242/0.02382, allocations: 3.141 MB / 490.5 MB, free: 12.21 MB / 458.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.574640030041337]