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.001284/0.001284, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.00149/0.00149, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9136/0.9136, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.7585/0.7585, allocations: 154.9 MB / 415.1 MB, free: 268 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 1.603e-06/1.603e-06, allocations: 0 / 0.5212 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.538e-05, allocations: 8.219 kB / 0.5212 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001199/0.001214, allocations: 0.7598 MB / 0.5219 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.002769, allocations: 1.209 MB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.002818, allocations: 4.656 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.002847, allocations: 4.719 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.002919, allocations: 11.86 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.003279, allocations: 137 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003413, allocations: 120.7 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.0035, allocations: 19.97 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.003607, allocations: 67.89 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.003679, allocations: 41.2 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.0037, allocations: 12 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.003751, allocations: 27.92 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.003771, allocations: 13.27 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.003806, allocations: 35.91 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.003931, allocations: 107.6 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003933, allocations: 0 / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003934, allocations: 0.8125 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003937, allocations: 4 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB 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.0003907/0.004328, allocations: 435.4 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004362, allocations: 12.02 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.004399, allocations: 18.23 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.00448, allocations: 112.6 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004493, allocations: 4.375 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.004508, allocations: 8.375 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.004623, allocations: 75.69 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004631, allocations: 6.016 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.004637, allocations: 4.312 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004643, allocations: 384 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.004669, allocations: 15.92 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.00494, allocations: 284.3 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.004983, allocations: 37.11 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.005004, allocations: 19.62 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005023, allocations: 0 / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.005123, allocations: 73.11 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.005124, allocations: 0 / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000164/0.005288, allocations: 79.05 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.005316, allocations: 55.34 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.005407, allocations: 180.6 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.005424, allocations: 29.7 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.00548, allocations: 143.8 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005496, allocations: 15.89 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.005542, allocations: 36.36 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.005661, allocations: 0.4923 MB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.005713, allocations: 49.69 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.005772, allocations: 77.61 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.005848, allocations: 93.17 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.00585, allocations: 0.8125 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001723/0.006022, allocations: 178.2 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.006048, allocations: 45.62 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.006052, allocations: 3.938 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.006062, allocations: 0.5 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.006124, allocations: 13.77 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006129, allocations: 4 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.006211, allocations: 31.86 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.006223, allocations: 4 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB 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 6.704e-05/0.00629, allocations: 170.1 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.0063, allocations: 7.953 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.00633, allocations: 20.36 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006332, allocations: 2.438 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.006333, allocations: 0 / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006336, allocations: 0 / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.096e-05/0.006407, allocations: 117.2 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006408, allocations: 0 / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.006437, allocations: 11.98 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006438, allocations: 2.75 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.006443, allocations: 0 / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006443, allocations: 0 / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.006446, allocations: 8.25 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.493e-05/0.006531, allocations: 100.4 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.006536, allocations: 7.938 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006546, allocations: 3.984 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.006568, allocations: 4.812 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.006597, allocations: 15.92 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.0066, allocations: 1.156 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.006635, allocations: 131.2 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006635, allocations: 0 / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000135/0.00677, allocations: 24 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB 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 9.137e-05/0.006861, allocations: 114 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.006996, allocations: 144.7 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006997, allocations: 0 / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.007024, allocations: 23.69 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.007153, allocations: 14.73 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.007375, allocations: 165.9 kB / 0.5273 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.552e-05/0.0074, allocations: 59.34 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.007424, allocations: 8.781 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.007501, allocations: 95.55 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.007501, allocations: 0 / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.003177/0.01068, allocations: 1.889 MB / 0.5293 GB, free: 8.934 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.436438242904842]