Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 112.9 kB / 17.75 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 184.7 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.293e-05, allocations: 3.125 kB / 328.5 MB, free: 3.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.00297/0.003011, allocations: 1.664 MB / 330.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.003603, allocations: 259.2 kB / 330.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.003707, allocations: 8 kB / 330.4 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003834, allocations: 23.69 kB / 330.4 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.003897, allocations: 19.8 kB / 330.4 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.004285, allocations: 119.8 kB / 330.6 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.004581, allocations: 263.5 kB / 330.8 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.004902, allocations: 206.9 kB / 331 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.005025, allocations: 127.7 kB / 331.1 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005177, allocations: 119.5 kB / 331.3 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.005223, allocations: 28 kB / 331.3 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.005311, allocations: 39.98 kB / 331.3 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0002097/0.005528, allocations: 328.2 kB / 331.6 MB, free: 192 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001005/0.005635, allocations: 197 kB / 331.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.005688, allocations: 35.88 kB / 331.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.733e-05/0.005732, allocations: 31.75 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (64) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.0009966/0.006734, allocations: 0.9952 MB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001137/0.006855, allocations: 78.45 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005874/0.00745, allocations: 0.6724 MB / 333.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simplify1: time 5.982e-05/0.007516, allocations: 51.92 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of Alias: time 0.001198/0.00872, allocations: 1.074 MB / 334.8 MB, free: 12.78 MB / 286.1 MB Notification: Performance of simplify2: time 4.457e-05/0.008775, allocations: 43.94 kB / 334.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of Events: time 0.00017/0.008951, allocations: 136.8 kB / 334.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003115/0.00927, allocations: 279 kB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002511/0.00953, allocations: 241.2 kB / 335.5 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Causalize: time 0.001328/0.01086, allocations: 1.401 MB / 336.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004513/0.01133, allocations: 0.5502 MB / 337.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of Inline: time 0.0007017/0.01203, allocations: 0.7606 MB / 338.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of Partitioning: time 5.966e-05/0.0121, allocations: 54.38 kB / 338.2 MB, free: 9.246 MB / 286.1 MB Notification: Performance of Cleanup: time 3.889e-05/0.01215, allocations: 39.95 kB / 338.3 MB, free: 9.207 MB / 286.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) step.outPort[1].reset = transition2.outPort.set ($RES_SIM_54) slice: {}; [SCAL] (1) initialStep.outPort[1].reset = transition1.outPort.set ($RES_SIM_59) slice: {}; [SCAL] (1) $SEV_4 = transition1.enableFire and time >= ((time - transition1.t_dummy) + transition1.waitTime) ($RES_EVT_92) slice: {}; [SCAL] (1) $SEV_1 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_89) slice: {}; Notification: Performance of Causalize: time 0.002177/0.01433, allocations: 2.346 MB / 340.6 MB, free: 6.875 MB / 286.1 MB Notification: Performance of Tearing: time 1.072e-05/0.01435, allocations: 7.969 kB / 340.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of Initialization: time 4.31e-07/0.01436, allocations: 0 / 340.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of Tearing: time 1.703e-06/0.01436, allocations: 0 / 340.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of Categorize: time 1.116e-05/0.01438, allocations: 4 kB / 340.6 MB, free: 6.863 MB / 286.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 0.0003193/0.0147, allocations: 190.7 kB / 340.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of Jacobian: time 3.447e-06/0.01472, allocations: 4 kB / 340.8 MB, free: 6.672 MB / 286.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 3 (3) {timer.entryTime, step.oldActive, initialStep.oldActive} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 40 (40) {initialStep.inPort.set, initialStep.inPort.occupied, initialStep.outPort.reset, initialStep.outPort.available, initialStep.outerStatePort.localActive, initialStep.newActive, transition1.enableFire, transition1.inPort.available, transition1.outPort.occupied, transition1.outPort.set, step.inPort.set, step.inPort.occupied, step.outPort.reset, step.outPort.available, step.outerStatePort.localActive, step.newActive, transition2.localCondition, transition2.inPort.available, transition2.outPort.occupied, transition2.outPort.set, stateGraphRoot.activeSteps, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.558e-05/0.01478, allocations: 55.05 kB / 340.9 MB, free: 6.625 MB / 286.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false