Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001703/0.001703, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002562/0.002562, allocations: 215 kB / 20.13 MB, free: 2.949 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08125/0.08125, allocations: 16.94 MB / 326.5 MB, free: 8.332 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 60.59 kB / 455.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 57.6 MB / 0.5009 GB, free: 9.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003644/0.1096, allocations: 1.867 MB / 0.5027 GB, free: 7.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.1138, allocations: 1.933 MB / 0.5046 GB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1141, allocations: 7.938 kB / 0.5046 GB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.1145, allocations: 119 kB / 0.5047 GB, free: 5.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.1149, allocations: 166.9 kB / 0.5049 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1169, allocations: 0.8968 MB / 0.5057 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1185, allocations: 1.385 MB / 0.5071 GB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.1189, allocations: 171.1 kB / 0.5072 GB, free: 3.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.1195, allocations: 0.5881 MB / 0.5078 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.1201, allocations: 0.5213 MB / 0.5083 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.1203, allocations: 144 kB / 0.5085 GB, free: 1.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1215, allocations: 0.8505 MB / 0.5093 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.1217, allocations: 219 kB / 0.5095 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005958/0.1223, allocations: 0.5603 MB / 0.5101 GB, free: 196 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.1245, allocations: 1.822 MB / 0.5118 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1245, allocations: 4 kB / 0.5118 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1245, allocations: 0 / 0.5118 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.1245, allocations: 0 / 0.5118 GB, free: 14.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002289/0.1268, allocations: 1.583 MB / 0.5134 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1269, allocations: 8.031 kB / 0.5134 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.925e-05/0.1269, allocations: 22.19 kB / 0.5134 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.1271, allocations: 168 kB / 0.5136 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.1276, allocations: 128.4 kB / 0.5137 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.1284, allocations: 0.5541 MB / 0.5142 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.1286, allocations: 137.4 kB / 0.5144 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.1288, allocations: 116 kB / 0.5145 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.1321, allocations: 2.036 MB / 0.5165 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1321, allocations: 3.938 kB / 0.5165 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.1323, allocations: 51.98 kB / 0.5165 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.1324, allocations: 101.2 kB / 0.5166 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.1349, allocations: 1.427 MB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.1407, allocations: 4.244 MB / 0.5222 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.1426, allocations: 1.023 MB / 0.5232 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.1441, allocations: 0.9314 MB / 0.5241 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.1442, allocations: 81.11 kB / 0.5241 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/0.1463, allocations: 1.307 MB / 0.5254 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.083e-06/0.1463, allocations: 0 / 0.5254 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=91): time 0.006509/0.1528, allocations: 3.978 MB / 0.5293 GB, free: 11.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004952/0.1533, allocations: 0.6535 MB / 0.5299 GB, free: 11.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.154, allocations: 0.517 MB / 0.5304 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.1541, allocations: 73.69 kB / 0.5305 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.1544, allocations: 360.8 kB / 0.5309 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.1546, allocations: 242.3 kB / 0.5311 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.1551, allocations: 298.8 kB / 0.5314 GB, free: 9.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1552, allocations: 329.9 kB / 0.5317 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.1561, allocations: 0.5537 MB / 0.5322 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.1575, allocations: 1.024 MB / 0.5332 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.1616, allocations: 3.189 MB / 0.5363 GB, free: 3.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.1616, allocations: 4 kB / 0.5364 GB, free: 3.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003508/0.1651, allocations: 2.249 MB / 0.5385 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.1654, allocations: 348.9 kB / 0.5389 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.1654, allocations: 16.25 kB / 0.5389 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/0.1654, allocations: 20 kB / 0.5389 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.1659, allocations: 155.6 kB / 0.5391 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/0.166, allocations: 35.86 kB / 0.5391 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.1667, allocations: 163 kB / 0.5393 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1668, allocations: 71.98 kB / 0.5393 GB, free: 0.8086 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * 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.001329/0.1681, allocations: 0.8999 MB / 0.5402 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.1683, allocations: 99.56 kB / 0.5403 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.1736, allocations: 3.36 MB / 0.5436 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.1736, allocations: 11.98 kB / 0.5436 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1736, allocations: 3.938 kB / 0.5436 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1736, allocations: 0 / 0.5436 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007306/0.1809, allocations: 4.76 MB / 0.5482 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1809, allocations: 0 / 0.5482 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1811, allocations: 43.89 kB / 0.5483 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.1811, allocations: 4 kB / 0.5483 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.1813, allocations: 55.95 kB / 0.5483 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1813, allocations: 4 kB / 0.5483 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1813, allocations: 0 / 0.5483 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.187, allocations: 3.478 MB / 0.5517 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.1872, allocations: 148.5 kB / 0.5519 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.1875, allocations: 91.97 kB / 0.552 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.1882, allocations: 103.9 kB / 0.5521 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006572/0.1888, allocations: 384 kB / 0.5524 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.189, allocations: 59.97 kB / 0.5525 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.1894, allocations: 303.1 kB / 0.5528 GB, free: 2.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.5528 GB, free: 2.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001475/0.1908, allocations: 495.2 kB / 0.5533 GB, free: 2.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[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,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,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) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],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],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.006675/0.1975, allocations: 4.397 MB / 0.5575 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003713/0.2012, allocations: 2.461 MB / 0.5599 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2012, allocations: 0 / 0.5599 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.2035, allocations: 1.63 MB / 0.5615 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.2043, allocations: 140.7 kB / 0.5617 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.2192, allocations: 9.834 MB / 0.5713 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.22, allocations: 1.03 MB / 0.5723 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.2206, allocations: 217.2 kB / 0.5725 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.2209, allocations: 251.4 kB / 0.5727 GB, free: 13.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2209, allocations: 3.938 kB / 0.5727 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.5166, allocations: 24.26 MB / 0.5964 GB, free: 80 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.419/9.936, allocations: 12.95 kB / 0.5964 GB, free: 79.99 MB / 446.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.87925544200698] Failed to read output from testmodel.py, exit status != 0: 10.074200282979291 10.09070636 9.963129047 Calling exit ...