Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008435, allocations: 93.89 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06857/0.06857, allocations: 16.74 MB / 326.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.412e-05, allocations: 3.938 kB / 384.1 MB, free: 70.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09351, allocations: 51.69 MB / 435.8 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.291/0.3845, allocations: 80.08 MB / 0.5038 GB, free: 9.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001602/0.3847, allocations: 66.17 kB / 0.5038 GB, free: 9.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06218/0.4469, allocations: 27.44 MB / 0.5306 GB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4469, allocations: 0 / 0.5306 GB, free: 9.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.053e-05/0.447, allocations: 39.56 kB / 0.5307 GB, free: 9.492 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.003291/0.4503, allocations: 2.369 MB / 0.533 GB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4504, allocations: 8.031 kB / 0.533 GB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.4512, allocations: 273 kB / 0.5332 GB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.4528, allocations: 1.009 MB / 0.5342 GB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.453, allocations: 228.1 kB / 0.5344 GB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.4534, allocations: 170.3 kB / 0.5346 GB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003967/0.4573, allocations: 2.689 MB / 0.5372 GB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.4626, allocations: 3.702 MB / 0.5408 GB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.4627, allocations: 7.938 kB / 0.5408 GB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.463, allocations: 50.94 kB / 0.5409 GB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.4632, allocations: 145.4 kB / 0.541 GB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009954/0.4732, allocations: 7.924 MB / 0.5488 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.4777, allocations: 4.509 MB / 0.5532 GB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/0.4818, allocations: 4.341 MB / 0.5574 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.482, allocations: 101.8 kB / 0.5575 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003599/0.4856, allocations: 2.521 MB / 0.56 GB, free: 14.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 3.066e-06/0.4856, allocations: 0 / 0.56 GB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=188): time 0.006406/0.4921, allocations: 3.831 MB / 0.5637 GB, free: 10.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007146/0.4928, allocations: 1.31 MB / 0.565 GB, free: 9.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.4939, allocations: 0.7084 MB / 0.5657 GB, free: 8.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.4941, allocations: 93.67 kB / 0.5658 GB, free: 8.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.4946, allocations: 0.6344 MB / 0.5664 GB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.495, allocations: 460.3 kB / 0.5668 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4951, allocations: 12 kB / 0.5668 GB, free: 7.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.4954, allocations: 457 kB / 0.5673 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4968, allocations: 1.036 MB / 0.5683 GB, free: 6.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.4988, allocations: 1.988 MB / 0.5702 GB, free: 3.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.5005, allocations: 1.109 MB / 0.5713 GB, free: 2.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.5005, allocations: 8 kB / 0.5713 GB, free: 2.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.004984/0.5055, allocations: 3.385 MB / 0.5746 GB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/0.5059, allocations: 0.7317 MB / 0.5753 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.506, allocations: 28 kB / 0.5754 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.656e-05/0.506, allocations: 48.09 kB / 0.5754 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.507, allocations: 343.2 kB / 0.5757 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.305e-05/0.5071, allocations: 59.8 kB / 0.5758 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5082, allocations: 242.4 kB / 0.576 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.5085, allocations: 152 kB / 0.5762 GB, free: 13.36 MB / 394.7 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 306 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition16,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition4,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition3,$PRE.T1.eventIndex,T1.eventIndex,$whenCondition15,$whenCondition14,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T2.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T2.firingCon,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.eventPassed,T1.eventPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.P2.t,P2.t,P2.activeOut[1],P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,T1.activation.disPlaceOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.disPlaceOut[1],P2.activeConOut.vec[1],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 322 * Array equations: 2 * Algorithm blocks: 22 * 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.001772/0.5102, allocations: 1.363 MB / 0.5775 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006739/0.517, allocations: 4.167 MB / 0.5816 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.5174, allocations: 186.6 kB / 0.5818 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/0.5239, allocations: 4.116 MB / 0.5858 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.524, allocations: 12 kB / 0.5858 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.524, allocations: 4 kB / 0.5858 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.524, allocations: 3.984 kB / 0.5858 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009932/0.534, allocations: 6.558 MB / 0.5922 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.534, allocations: 0 / 0.5922 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.5343, allocations: 79.77 kB / 0.5923 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5343, allocations: 4 kB / 0.5923 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.5346, allocations: 99.94 kB / 0.5924 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5346, allocations: 4 kB / 0.5924 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5346, allocations: 3.984 kB / 0.5924 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/0.5413, allocations: 4.337 MB / 0.5966 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.5415, allocations: 183.6 kB / 0.5968 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/0.542, allocations: 163.9 kB / 0.597 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.5432, allocations: 191.8 kB / 0.5971 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001121/0.5443, allocations: 0.7576 MB / 0.5979 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/0.5447, allocations: 147.7 kB / 0.598 GB, free: 6.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.5451, allocations: 399.1 kB / 0.5984 GB, free: 6.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5451, allocations: 0 / 0.5984 GB, free: 6.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002291/0.5474, allocations: 0.7373 MB / 0.5991 GB, free: 5.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 164 (P2.activeOut[1],T2.active,P1.activeOut[1],T1.active,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.enabledByInPlaces[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.eventPassed,T1.ani,T1.eventIndex,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,P2.outTransition[1].tokenInOut) * Number of discrete states: 110 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,T2.eventIndex,$whenCondition4,T1.eventIndex,$whenCondition3,P1.t,P1.tokeninout,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition6,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 18 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008165/0.5556, allocations: 5.444 MB / 0.6044 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006447/0.5621, allocations: 5.245 MB / 0.6096 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5621, allocations: 0 / 0.6096 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007687/0.5698, allocations: 8.857 MB / 0.6182 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.5706, allocations: 131.3 kB / 0.6183 GB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/0.5787, allocations: 4.111 MB / 0.6223 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/0.5797, allocations: 1.424 MB / 0.6237 GB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009911/0.5807, allocations: 431 kB / 0.6241 GB, free: 11.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.5813, allocations: 0.5149 MB / 0.6246 GB, free: 11 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5813, allocations: 4 kB / 0.6247 GB, free: 11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2908/0.872, allocations: 42.01 MB / 0.6657 GB, free: 141 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/0.8722, allocations: 136 kB / 0.6658 GB, free: 140.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/4.023, allocations: 0 / 0.6658 GB, free: 140.8 MB / 458.7 MB (rm -f PNlib_PNlib.Examples.DisTest.TEtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEtest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEtest_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEtest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEtest.fmu > PNlib_PNlib.Examples.DisTest.TEtest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TEtest_res.mat does not exist to compare? outputFormat=mat