Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001279/0.001279, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001406/0.001406, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.236/1.236, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.028e-05/5.293e-05, allocations: 7.484 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00211/0.002163, allocations: 0.7829 MB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.004333, allocations: 1.314 MB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.004409, allocations: 11.94 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.004456, allocations: 15.8 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.998e-05/0.004556, allocations: 15.86 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.005421, allocations: 323.2 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.005805, allocations: 291.5 kB / 0.6212 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.005938, allocations: 41.59 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.00616, allocations: 159.8 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.006363, allocations: 83.8 kB / 0.6215 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.006419, allocations: 28 kB / 0.6215 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.006519, allocations: 43.97 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.006554, allocations: 19.92 kB / 0.6216 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.006685, allocations: 87.84 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.007091, allocations: 319.1 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.007095, allocations: 0 / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.007096, allocations: 0 / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.007102, allocations: 4 kB / 0.622 GB, free: 1.109 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007556/0.007858, allocations: 454.8 kB / 0.6224 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.007901, allocations: 13.47 kB / 0.6224 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.007984, allocations: 16.89 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.008128, allocations: 138.1 kB / 0.6226 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.008163, allocations: 8.375 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.008215, allocations: 20.38 kB / 0.6226 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.008419, allocations: 93.53 kB / 0.6227 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.008431, allocations: 0 / 0.6227 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.008452, allocations: 11.98 kB / 0.6227 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.008458, allocations: 0 / 0.6227 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.008574, allocations: 51.98 kB / 0.6227 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.009258, allocations: 376.1 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.009525, allocations: 74.48 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.009581, allocations: 28.91 kB / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.009594, allocations: 0 / 0.6232 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.00984, allocations: 111.5 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.009841, allocations: 0 / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004098/0.01025, allocations: 177.5 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.0103, allocations: 55.41 kB / 0.6235 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01045, allocations: 163 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.0105, allocations: 33.7 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01061, allocations: 112.5 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.01064, allocations: 27.8 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.01079, allocations: 81.66 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.01095, allocations: 322.8 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.01123, allocations: 181 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.01153, allocations: 235 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.01187, allocations: 257.1 kB / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.01187, allocations: 7.938 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007435/0.01262, allocations: 487.6 kB / 0.6253 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.01272, allocations: 105 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01272, allocations: 0 / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.01275, allocations: 8.188 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.01281, allocations: 11.94 kB / 0.6255 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.01282, allocations: 4 kB / 0.6255 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.01329, allocations: 83.8 kB / 0.6255 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.01333, allocations: 19.98 kB / 0.6256 GB, free: 13.08 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001584/0.01349, allocations: 142.8 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.01351, allocations: 11.91 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.01355, allocations: 16.72 kB / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01355, allocations: 0 / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.01356, allocations: 0 / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01357, allocations: 3.984 kB / 0.6257 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01374, allocations: 153.2 kB / 0.6259 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01374, allocations: 0 / 0.6259 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.01378, allocations: 8 kB / 0.6259 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.01379, allocations: 4 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.0138, allocations: 11.98 kB / 0.6259 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.0138, allocations: 7.875 kB / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01381, allocations: 4 kB / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.01407, allocations: 167.2 kB / 0.6261 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.01409, allocations: 7.953 kB / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.01411, allocations: 0 / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.01414, allocations: 7.938 kB / 0.6261 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.01419, allocations: 15.97 kB / 0.6261 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01421, allocations: 8 kB / 0.6261 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.01429, allocations: 105.5 kB / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01429, allocations: 0 / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002781/0.01456, allocations: 59.94 kB / 0.6263 GB, free: 12.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001908/0.01476, allocations: 107.1 kB / 0.6264 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.01535, allocations: 443.1 kB / 0.6268 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01535, allocations: 0 / 0.6268 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.01543, allocations: 35.98 kB / 0.6268 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01571, allocations: 26.39 kB / 0.6268 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.01623, allocations: 249.9 kB / 0.6271 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.01632, allocations: 90.28 kB / 0.6272 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.01636, allocations: 12.97 kB / 0.6272 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.0164, allocations: 16.5 kB / 0.6272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.0164, allocations: 4 kB / 0.6272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Templates: time 0.006991/0.02339, allocations: 3.025 MB / 0.6302 GB, free: 8.293 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.880811341106892] Failed to read output from testmodel.py, exit status != 0: 0.03213115781545639 0.046542497 0.036438987 Calling exit ...