Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.Deadlock.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.Applications.Deadlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Applications.Deadlock") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003834/0.00384, allocations: 362.2 kB / 15.96 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.43/4.43, allocations: 446.6 MB / 463.2 MB, free: 4.617 MB / 362.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 188 kB / 0.5024 GB, free: 1.293 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2159/0.2159, allocations: 27.14 MB / 0.5788 GB, free: 209.8 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007844/0.0007849, allocations: 8 kB / 0.6415 GB, free: 147.6 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1026, allocations: 53.72 MB / 0.694 GB, free: 93.79 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Applications.Deadlock): time 0.006604/0.1093, allocations: 3.322 MB / 0.6972 GB, free: 90.45 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.1158, allocations: 2.217 MB / 0.6994 GB, free: 88.23 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.1172, allocations: 63.56 kB / 0.6995 GB, free: 88.17 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.1181, allocations: 170.5 kB / 0.6996 GB, free: 88 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009849/0.1191, allocations: 122.9 kB / 0.6998 GB, free: 87.88 MB / 458.7 MB [/var/lib/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.005053/0.1242, allocations: 0.896 MB / 0.7006 GB, free: 86.99 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004201/0.1284, allocations: 1.905 MB / 0.7025 GB, free: 85.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009396/0.1379, allocations: 3.226 MB / 0.7056 GB, free: 81.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.1393, allocations: 0.5755 MB / 0.7062 GB, free: 81.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009371/0.1403, allocations: 0.5473 MB / 0.7067 GB, free: 80.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.1407, allocations: 68 kB / 0.7068 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.1411, allocations: 87.92 kB / 0.7069 GB, free: 80.5 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.1417, allocations: 338.7 kB / 0.7072 GB, free: 80.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.1421, allocations: 308.6 kB / 0.7075 GB, free: 79.86 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.1661, allocations: 1.321 MB / 0.7088 GB, free: 78.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1662, allocations: 0 / 0.7088 GB, free: 78.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1662, allocations: 8 kB / 0.7088 GB, free: 78.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.096e-05/0.1663, allocations: 0 / 0.7088 GB, free: 78.53 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.00956/0.1759, allocations: 1.656 MB / 0.7104 GB, free: 76.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1759, allocations: 8.031 kB / 0.7104 GB, free: 76.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.1766, allocations: 217.5 kB / 0.7106 GB, free: 76.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.1791, allocations: 0.9107 MB / 0.7115 GB, free: 75.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.1794, allocations: 172.1 kB / 0.7117 GB, free: 75.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.1798, allocations: 204 kB / 0.7119 GB, free: 75.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005838/0.1857, allocations: 2.251 MB / 0.7141 GB, free: 72.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.1858, allocations: 11.94 kB / 0.7141 GB, free: 72.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.1861, allocations: 91.98 kB / 0.7142 GB, free: 72.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/0.1862, allocations: 52 kB / 0.7142 GB, free: 72.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.1916, allocations: 1.491 MB / 0.7157 GB, free: 71.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.2054, allocations: 9.171 MB / 0.7246 GB, free: 61.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.2075, allocations: 1.344 MB / 0.7259 GB, free: 59.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/0.2083, allocations: 307.2 kB / 0.7262 GB, free: 59.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003957/0.2123, allocations: 2.107 MB / 0.7283 GB, free: 57.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/0.2132, allocations: 341 kB / 0.7286 GB, free: 57.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 4.518e-06/0.2132, allocations: 4 kB / 0.7286 GB, free: 57.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.001727/0.215, allocations: 0.7844 MB / 0.7294 GB, free: 56.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.215, allocations: 179.2 kB / 0.7296 GB, free: 56.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2163, allocations: 0.9246 MB / 0.7305 GB, free: 55.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/0.2164, allocations: 57.7 kB / 0.7305 GB, free: 55.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/0.2169, allocations: 0.7446 MB / 0.7313 GB, free: 54.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.2171, allocations: 217.6 kB / 0.7315 GB, free: 54.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.2172, allocations: 36 kB / 0.7315 GB, free: 54.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2174, allocations: 410.7 kB / 0.7319 GB, free: 53.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/0.2181, allocations: 315.8 kB / 0.7322 GB, free: 53.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.2193, allocations: 1.026 MB / 0.7332 GB, free: 51.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.2202, allocations: 438.6 kB / 0.7336 GB, free: 51.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.2202, allocations: 4 kB / 0.7336 GB, free: 51.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.002684/0.2229, allocations: 1.356 MB / 0.7349 GB, free: 50.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.223, allocations: 20.16 kB / 0.735 GB, free: 50.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.223, allocations: 24 kB / 0.735 GB, free: 50.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.2231, allocations: 36 kB / 0.735 GB, free: 50.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.2235, allocations: 127.5 kB / 0.7351 GB, free: 49.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-05/0.2236, allocations: 51.8 kB / 0.7352 GB, free: 49.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/0.2246, allocations: 166.6 kB / 0.7353 GB, free: 49.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.2248, allocations: 91.94 kB / 0.7354 GB, free: 49.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 204 ($PRE.request1.enableFire,$PRE.request2.enableFire,$PRE.release2.enableFire,$PRE.release1.enableFire,$PRE.reqest3.enableFire,$PRE.request4.enableFire,$PRE.release4.enableFire,$PRE.release3.enableFire,$PRE.start1.enableFire,$PRE.reserved1.enableFire,$PRE.reserved3.enableFire,$PRE.ready1.enableFire,$PRE.start2.enableFire,$PRE.reserved2.enableFire,$PRE.reserved4.enableFire,$PRE.ready2.enableFire,$PRE.idle2.oldActive,idle2.oldActive,$PRE.busy2.oldActive,busy2.oldActive,$PRE.requesting4.oldActive,requesting4.oldActive,$PRE.requesting2.oldActive,requesting2.oldActive,$PRE.idle1.oldActive,idle1.oldActive,$PRE.busy1.oldActive,busy1.oldActive,$PRE.s4.oldActive,s4.oldActive,$PRE.s3.oldActive,s3.oldActive,$PRE.free2.oldActive,free2.oldActive,$PRE.s2.oldActive,s2.oldActive,$PRE.requesting3.oldActive,requesting3.oldActive,$PRE.requesting1.oldActive,requesting1.oldActive,$PRE.s1.oldActive,s1.oldActive,$PRE.free1.oldActive,free1.oldActive,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,free1.outPort[2].available,free1.active,$PRE.free1.newActive,free1.newActive,free1.inport_fire,free1.outport_fire,s1.active,$PRE.s1.newActive,s1.newActive,s1.inport_fire,s1.outport_fire,request1.enableFire,requesting1.active,$PRE.requesting1.newActive,requesting1.newActive,requesting3.active,$PRE.requesting3.newActive,requesting3.newActive,requesting3.inport_fire,s2.active,$PRE.s2.newActive,s2.newActive,s2.inport_fire,s2.outport_fire,request2.enableFire,release2.enableFire,release1.enableFire,free2.outPort[2].available,free2.active,$PRE.free2.newActive,free2.newActive,free2.inport_fire,free2.outport_fire,s3.active,$PRE.s3.newActive,s3.newActive,s3.inport_fire,s3.outport_fire,reqest3.enableFire,s4.active,$PRE.s4.newActive,s4.newActive,s4.inport_fire,s4.outport_fire,request4.enableFire,release4.enableFire,release3.enableFire,$PRE.busy1.newActive,busy1.newActive,busy1.inport_fire,start1.fire,start1.enableFire,$PRE.start1.t_start,start1.t_start,reserved1.enableFire,reserved3.enableFire,ready1.fire,ready1.enableFire,$PRE.ready1.t_start,ready1.t_start,$PRE.idle1.newActive,idle1.newActive,idle1.inport_fire,idle1.outport_fire,requesting2.active,$PRE.requesting2.newActive,requesting2.newActive,requesting4.active,$PRE.requesting4.newActive,requesting4.newActive,requesting4.inport_fire,$PRE.busy2.newActive,busy2.newActive,busy2.inport_fire,start2.fire,start2.enableFire,$PRE.start2.t_start,start2.t_start,reserved2.enableFire,reserved4.enableFire,ready2.fire,ready2.enableFire,$PRE.ready2.t_start,ready2.t_start,$PRE.idle2.newActive,idle2.newActive,idle2.inport_fire,idle2.outport_fire,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u,fallingEdge1.y,$PRE.fallingEdge1.not_u,fallingEdge1.not_u,busy2.outPort[1].checkOneDelayedTransitionPerLoop,busy1.outPort[1].checkOneDelayedTransitionPerLoop,s4.outPort[1].checkOneDelayedTransitionPerLoop,s3.outPort[1].checkOneDelayedTransitionPerLoop,s2.outPort[1].checkOneDelayedTransitionPerLoop,s1.outPort[1].checkOneDelayedTransitionPerLoop,ready2.condition,start2.condition,ready1.condition,start1.condition,idle2.connectorNode.node.suspend,idle2.connectorNode.node.resume,idle1.connectorNode.node.suspend,idle1.connectorNode.node.resume,free2.connectorNode.node.suspend,free2.connectorNode.node.resume,free1.connectorNode.node.suspend,free1.connectorNode.node.resume,reserved4.condition,reserved2.condition,reserved3.condition,reserved1.condition,release3.condition,release4.condition,request4.condition,reqest3.condition,release1.condition,release2.condition,request2.condition,request1.condition,ready2.outPort.checkOneDelayedTransitionPerLoop,idle2.outPort[1].checkOneDelayedTransitionPerLoop,idle2.inPort[1].checkUnaryConnection,start2.outPort.checkOneDelayedTransitionPerLoop,requesting4.inPort[1].checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkOneDelayedTransitionPerLoop,busy2.inPort[1].checkUnaryConnection,requesting4.inPort[1].checkUnaryConnection,requesting2.inPort[1].checkUnaryConnection,ready1.outPort.checkOneDelayedTransitionPerLoop,idle1.outPort[1].checkOneDelayedTransitionPerLoop,idle1.inPort[1].checkUnaryConnection,start1.outPort.checkOneDelayedTransitionPerLoop,requesting3.inPort[1].checkOneDelayedTransitionPerLoop,busy1.inPort[1].checkOneDelayedTransitionPerLoop,busy1.inPort[1].checkUnaryConnection,release3.outPort.checkOneDelayedTransitionPerLoop,release4.outPort.checkOneDelayedTransitionPerLoop,s4.inPort[1].checkOneDelayedTransitionPerLoop,s4.inPort[1].checkUnaryConnection,s3.inPort[1].checkUnaryConnection,free2.inPort[2].checkUnaryConnection,free2.inPort[1].checkUnaryConnection,release1.outPort.checkOneDelayedTransitionPerLoop,release2.outPort.checkOneDelayedTransitionPerLoop,s2.inPort[1].checkOneDelayedTransitionPerLoop,s2.inPort[1].checkUnaryConnection,requesting3.inPort[1].checkUnaryConnection,requesting1.inPort[1].checkUnaryConnection,s1.inPort[1].checkUnaryConnection,free1.inPort[2].checkUnaryConnection,free1.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009073/0.2257, allocations: 0.5344 MB / 0.7359 GB, free: 49.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2259, allocations: 102.8 kB / 0.736 GB, free: 49.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2274, allocations: 0.6954 MB / 0.7367 GB, free: 48.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.2274, allocations: 3.984 kB / 0.7367 GB, free: 48.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2274, allocations: 0 / 0.7367 GB, free: 48.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.2277, allocations: 215.8 kB / 0.7369 GB, free: 48.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.2279, allocations: 31.94 kB / 0.737 GB, free: 48.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.2283, allocations: 35.97 kB / 0.737 GB, free: 48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.2286, allocations: 88.86 kB / 0.7371 GB, free: 47.92 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001256/0.2298, allocations: 0.6812 MB / 0.7378 GB, free: 47.23 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001196/0.2311, allocations: 0.8031 MB / 0.7385 GB, free: 46.41 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005056/0.2316, allocations: 279.8 kB / 0.7388 GB, free: 46.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006322/0.2322, allocations: 443 kB / 0.7392 GB, free: 45.71 MB / 458.7 MB Notification: Performance of Backend: time 5.41e-07/0.2322, allocations: 0 / 0.7392 GB, free: 45.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.2342, allocations: 0.7776 MB / 0.74 GB, free: 44.92 MB / 458.7 MB Notification: Performance of SimCode: time 0.004567/0.2388, allocations: 3.071 MB / 0.743 GB, free: 41.8 MB / 458.7 MB Notification: Performance of Templates: time 0.02816/0.267, allocations: 8.294 MB / 0.7511 GB, free: 33.55 MB / 458.7 MB