Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1292/0.1292, allocations: 13.78 MB / 318.2 MB, free: 14.87 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.88 kB / 444.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.432, allocations: 55.61 MB / 0.4884 GB, free: 22.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithSuspendAndNoResume): time 0.00471/0.4367, allocations: 2.747 MB / 0.4911 GB, free: 20.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.44, allocations: 1.478 MB / 0.4925 GB, free: 19.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.4406, allocations: 31.84 kB / 0.4925 GB, free: 19.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.4434, allocations: 1.705 MB / 0.4942 GB, free: 18.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.4437, allocations: 84.12 kB / 0.4943 GB, free: 18.19 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The second argument 'parallel.local_exit.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15046:9-15046:83:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.4457, allocations: 0.5856 MB / 0.4949 GB, free: 17.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.447, allocations: 1.161 MB / 0.496 GB, free: 17.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.4487, allocations: 1.245 MB / 0.4972 GB, free: 16.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.4492, allocations: 472.2 kB / 0.4977 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.4497, allocations: 485.2 kB / 0.4981 GB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.4499, allocations: 107.6 kB / 0.4982 GB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.4502, allocations: 132.8 kB / 0.4983 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.4504, allocations: 302.2 kB / 0.4986 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.4508, allocations: 499.8 kB / 0.4991 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.4524, allocations: 1.351 MB / 0.5004 GB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4524, allocations: 1.062 kB / 0.5004 GB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4524, allocations: 0 / 0.5004 GB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4524, allocations: 0 / 0.5004 GB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.001694/0.4541, allocations: 1.303 MB / 0.5017 GB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4541, allocations: 9.625 kB / 0.5017 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.4543, allocations: 119.4 kB / 0.5018 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.4553, allocations: 0.6257 MB / 0.5024 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.4554, allocations: 91.12 kB / 0.5025 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.4555, allocations: 117.5 kB / 0.5026 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4573, allocations: 1.352 MB / 0.504 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4574, allocations: 3.938 kB / 0.504 GB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.4575, allocations: 51.98 kB / 0.504 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.4575, allocations: 28 kB / 0.504 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4587, allocations: 0.9484 MB / 0.505 GB, free: 9.871 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:14978:9-14978:46:writable] Error: Found equation without time-dependent variables: parallel.entry_restart[1] = true Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.4622, allocations: 4.259 MB / 0.5091 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.4629, allocations: 0.6628 MB / 0.5098 GB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.4632, allocations: 227.3 kB / 0.51 GB, free: 4.449 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:2267:9-2270:35:writable] Error: Found equation without time-dependent variables: step5.outPort[1].checkOneDelayedTransitionPerLoop = true Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.4642, allocations: 1.174 MB / 0.5111 GB, free: 3.176 MB / 366.1 MB Error: An independent subset of the model has imbalanced number of equations (66) and variables (64). variables: step6.outport_fire step6.inport_fire step6.oldActive step6.newActive step6.active step6.outPort[1].node.resume step6.outPort[1].node.suspend step6.outPort[1].available T6.t_start T6.enableFire T6.fire T5.t_start T5.enableFire T5.fire step5.outport_fire step5.inport_fire step5.oldActive step5.newActive T4.enableFire T4.condition T3.t_start T3.enableFire T3.fire step4.inport_fire step4.oldActive step4.newActive step4.active T2.t_start T2.enableFire T2.fire step3.inport_fire step3.oldActive step3.newActive step3.active step2.outport_fire step2.inport_fire step2.oldActive step2.newActive step2.active step2.outPort[1].available T1.t_start T1.enableFire T1.fire parallel.exit[2].fire parallel.entry[2].fire parallel.suspend[1].available parallel.oldActive parallel.entry_fire parallel.suspend_fire parallel.finished parallel.newActive parallel.active step1.outport_fire step1.inport_fire step1.oldActive step1.newActive $whenCondition1 $whenCondition2 $whenCondition3 $whenCondition4 $whenCondition5 $whenCondition6 $whenCondition7 $whenCondition8 equations: 1 : step6.inport_fire = true 2 : step6.inport_fire = true 3 : when false then step1.oldActive := T1.enableFire; end when; 4 : when {$whenCondition1, $whenCondition2} then parallel.finished := parallel.exit[2].fire; end when; 5 : when false then parallel.oldActive := parallel.active; end when; 6 : when $whenCondition3 then T1.t_start := time; end when; 7 : when $whenCondition4 then step2.oldActive := step2.active; end when; 8 : when $whenCondition4 then step3.oldActive := step3.active; end when; 9 : when $whenCondition5 then T2.t_start := time; end when; 10 : when $whenCondition4 then step4.oldActive := step4.active; end when; 11 : when $whenCondition6 then T3.t_start := time; end when; 12 : when false then step5.oldActive := T5.enableFire; end when; 13 : when $whenCondition7 then T5.t_start := time; end when; 14 : when $whenCondition8 then T6.t_start := time; end when; 15 : when $whenCondition4 then step6.oldActive := step6.active; end when; 16 : T4.condition = time >= 2.5 and time < 4.0 17 : step6.outPort[1].available = step6.active and not step6.outPort[1].node.suspend 18 : step6.active = pre(step6.newActive) 19 : step6.newActive = if step6.outPort[1].node.resume then step6.oldActive else step6.inport_fire or step6.active and not step6.outport_fire and not step6.outPort[1].node.suspend 20 : step6.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({parallel.exit[2].fire}) 21 : step6.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T6.fire}) 22 : T6.fire = T6.enableFire and time >= T6.t_start + T6.waitTime 23 : T5.fire = T5.enableFire and time >= T5.t_start + T5.waitTime 24 : T5.enableFire = pre(step5.newActive) 25 : step5.newActive = step5.inport_fire or T5.enableFire and not step5.outport_fire 26 : step5.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T5.fire}) 27 : step5.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T4.enableFire}) 28 : T4.enableFire = T4.condition and parallel.suspend[1].available 29 : T3.fire = T3.enableFire and time >= T3.t_start + T3.waitTime 30 : T6.enableFire = step4.active and not step6.outPort[1].node.suspend 31 : step4.active = pre(step4.newActive) 32 : step4.newActive = if step6.outPort[1].node.resume then step4.oldActive else step4.inport_fire or step4.active and not step6.inport_fire and not step6.outPort[1].node.suspend 33 : step4.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T2.fire}) 34 : T2.fire = T2.enableFire and time >= T2.t_start + T2.waitTime 35 : T2.enableFire = step3.active and not step6.outPort[1].node.suspend 36 : step3.active = pre(step3.newActive) 37 : step3.newActive = if step6.outPort[1].node.resume then step3.oldActive else step3.inport_fire or step3.active and not step4.inport_fire and not step6.outPort[1].node.suspend 38 : step3.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({parallel.entry[2].fire}) 39 : step2.outPort[1].available = step2.active and not step6.outPort[1].node.suspend 40 : step2.active = pre(step2.newActive) 41 : step2.newActive = if step6.outPort[1].node.resume then step2.oldActive else step2.inport_fire or step2.active and not step2.outport_fire and not step6.outPort[1].node.suspend 42 : step2.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({parallel.exit[2].fire}) 43 : step2.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({parallel.entry[2].fire}) 44 : T1.fire = T1.enableFire and time >= T1.t_start + T1.waitTime 45 : step6.outPort[1].node.resume = parallel.resume_fire and not parallel.entry_fire 46 : step6.outPort[1].node.suspend = parallel.active and parallel.suspend_fire or not parallel.active and pre(parallel.active) 47 : parallel.suspend[1].available = parallel.active and not pre(parallel.suspend_fire) 48 : T3.enableFire = parallel.active and Modelica_StateGraph2.Blocks.BooleanFunctions.allTrue({step2.outPort[1].available, step6.outPort[1].available}) 49 : parallel.newActive = if Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({false, false}) then parallel.oldActive else parallel.entry[2].fire or Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({}) or parallel.active and not parallel.exit[2].fire and not parallel.suspend_fire 50 : parallel.active = pre(parallel.newActive) 51 : parallel.entry_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({parallel.entry[2].fire, parallel.entry[2].fire}) 52 : parallel.suspend_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({false, false}) or Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({}) or Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T4.enableFire}) 53 : parallel.exit[2].fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T3.fire}) 54 : parallel.entry[2].fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T1.fire, T5.fire}) 55 : T1.enableFire = pre(step1.newActive) 56 : step1.newActive = step1.inport_fire or T1.enableFire and not step1.outport_fire 57 : step1.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T1.fire}) 58 : step1.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue({T3.fire}) 59 : $whenCondition1 = parallel.exit[2].fire 60 : $whenCondition2 = pre(parallel.entry_fire) 61 : $whenCondition3 = T1.enableFire 62 : $whenCondition4 = step6.outPort[1].node.suspend 63 : $whenCondition5 = T2.enableFire 64 : $whenCondition6 = T3.enableFire 65 : $whenCondition7 = T5.enableFire 66 : $whenCondition8 = T6.enableFire Notification: Performance of preOpt encapsulateWhenConditions (simulation) : time 0.0007048/0.4649, allocations: 0.6929 MB / 0.5118 GB, free: 2.469 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2845896212384105]