Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.000996/0.000996, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001224/0.001224, allocations: 181 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 1.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8993/0.8993, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 480.5 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.114e-05, allocations: 5.047 kB / 480.5 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001945/0.001967, allocations: 0.8147 MB / 481.3 MB, free: 5.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003539, allocations: 1.211 MB / 482.5 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.003592, allocations: 4.844 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.003626, allocations: 7.922 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.003718, allocations: 18.06 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.004159, allocations: 131 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004353, allocations: 133.3 kB / 482.8 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.004441, allocations: 15.98 kB / 482.8 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.004574, allocations: 67.88 kB / 482.9 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.004668, allocations: 40.66 kB / 482.9 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.004696, allocations: 12 kB / 482.9 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.004783, allocations: 29.42 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.004805, allocations: 11.92 kB / 483 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.004856, allocations: 35.97 kB / 483 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.005025, allocations: 107.7 kB / 483.1 MB, free: 3.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005027, allocations: 0.8438 kB / 483.1 MB, free: 3.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005027, allocations: 0 / 483.1 MB, free: 3.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00503, allocations: 0.7188 kB / 483.1 MB, free: 3.938 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.0004379/0.005468, allocations: 314.3 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.005507, allocations: 8.031 kB / 483.4 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.00555, allocations: 13.55 kB / 483.4 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.005646, allocations: 114.8 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005659, allocations: 5.875 kB / 483.5 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.005677, allocations: 4.375 kB / 483.5 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.005825, allocations: 70.92 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.005835, allocations: 6.266 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005844, allocations: 4.375 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.00585, allocations: 384 / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.334e-05/0.005884, allocations: 11.94 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.00619, allocations: 185.6 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.006235, allocations: 19.33 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.006261, allocations: 20.78 kB / 483.9 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.006275, allocations: 5 kB / 483.9 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006382, allocations: 71.38 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.006383, allocations: 1.094 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001581/0.006541, allocations: 57.62 kB / 484 MB, free: 2.945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.006574, allocations: 55.39 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.006662, allocations: 126.2 kB / 484.2 MB, free: 2.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.006687, allocations: 33.7 kB / 484.2 MB, free: 2.707 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.006734, allocations: 92.73 kB / 484.3 MB, free: 2.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.006757, allocations: 20.47 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.006821, allocations: 25.7 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.006919, allocations: 323.4 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.00699, allocations: 49.69 kB / 484.7 MB, free: 2.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.007072, allocations: 80.75 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.00717, allocations: 81.64 kB / 484.9 MB, free: 1.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007173, allocations: 0 / 484.9 MB, free: 1.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001908/0.007363, allocations: 154.4 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.007399, allocations: 37.69 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.007407, allocations: 7.875 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.007423, allocations: 0.5625 kB / 485.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.007516, allocations: 16.89 kB / 485.1 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.007521, allocations: 4 kB / 485.1 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.007641, allocations: 25.23 kB / 485.1 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.00766, allocations: 7.984 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.815e-05/0.007739, allocations: 114.5 kB / 485.2 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007754, allocations: 8.609 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.007782, allocations: 18.09 kB / 485.2 MB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.007786, allocations: 7.938 kB / 485.3 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007788, allocations: 0 / 485.3 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.007792, allocations: 0 / 485.3 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.007885, allocations: 77.88 kB / 485.3 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007886, allocations: 1.75 kB / 485.3 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.007937, allocations: 15.92 kB / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007938, allocations: 0 / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.007945, allocations: 0 / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007946, allocations: 3.938 kB / 485.3 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.007948, allocations: 5.094 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.00805, allocations: 81.09 kB / 485.4 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.008061, allocations: 7.953 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.008073, allocations: 0.75 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.008109, allocations: 8.734 kB / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.008148, allocations: 15.92 kB / 485.5 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.008154, allocations: 2 kB / 485.5 MB, free: 1.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.008178, allocations: 16.86 kB / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008178, allocations: 0 / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.008379, allocations: 27.98 kB / 485.5 MB, free: 1.285 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001161/0.008495, allocations: 89.09 kB / 485.6 MB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.008682, allocations: 134.5 kB / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008684, allocations: 0 / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.008726, allocations: 25.5 kB / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.008859, allocations: 17.64 kB / 485.8 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.009478, allocations: 161.3 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.009516, allocations: 63.34 kB / 486 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.009548, allocations: 1.438 kB / 486 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.009657, allocations: 71.34 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009658, allocations: 0.6875 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of Templates: time 0.004301/0.01396, allocations: 1.738 MB / 487.8 MB, free: 15.04 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.74702868424356]