Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001455/0.001455, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.00144/0.00144, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.374/1.374, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1869/0.1869, allocations: 16.72 MB / 314.6 MB, free: 14.83 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/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(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.55 kB / 435.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08076/0.0826, allocations: 53.48 MB / 489.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002528/0.08516, allocations: 1.843 MB / 491 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.088, allocations: 1.932 MB / 493 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.08836, allocations: 9.312 kB / 493 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.08868, allocations: 105.5 kB / 493.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.08908, allocations: 111.4 kB / 493.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.09065, allocations: 0.9055 MB / 494.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.09172, allocations: 1.424 MB / 495.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.09193, allocations: 161.2 kB / 495.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.09241, allocations: 0.5337 MB / 496.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.09282, allocations: 362.2 kB / 496.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.09297, allocations: 88 kB / 496.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.09355, allocations: 0.5033 MB / 497.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.09369, allocations: 135.5 kB / 497.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.09405, allocations: 398.3 kB / 497.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.09504, allocations: 1.18 MB / 498.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09505, allocations: 0 / 498.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09506, allocations: 0 / 498.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.09508, allocations: 0 / 498.9 MB, free: 1.473 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001438/0.09652, allocations: 1.293 MB / 0.4884 GB, free: 68 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.09656, allocations: 15.89 kB / 0.4884 GB, free: 52 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.09688, allocations: 92.5 kB / 0.4885 GB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.0975, allocations: 438.8 kB / 0.489 GB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.09762, allocations: 90.92 kB / 0.489 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.09776, allocations: 79.98 kB / 0.4891 GB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.09983, allocations: 1.322 MB / 0.4904 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.09985, allocations: 0 / 0.4904 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.09995, allocations: 35.98 kB / 0.4904 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-05/0.1, allocations: 52.95 kB / 0.4905 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.1017, allocations: 0.9054 MB / 0.4914 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.1059, allocations: 3.322 MB / 0.4946 GB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.1076, allocations: 1.455 MB / 0.496 GB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.1093, allocations: 1.354 MB / 0.4974 GB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-05/0.1094, allocations: 89.11 kB / 0.4974 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.1108, allocations: 0.8917 MB / 0.4983 GB, free: 5.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.355e-06/0.1109, allocations: 0 / 0.4983 GB, free: 5.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004063/0.1149, allocations: 2.544 MB / 0.5008 GB, free: 2.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005384/0.1155, allocations: 0.5598 MB / 0.5013 GB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.116, allocations: 417.3 kB / 0.5017 GB, free: 1.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.582e-05/0.1161, allocations: 77.61 kB / 0.5018 GB, free: 1.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.1164, allocations: 268.9 kB / 0.5021 GB, free: 1.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.1166, allocations: 202.6 kB / 0.5023 GB, free: 1.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.117, allocations: 226.6 kB / 0.5025 GB, free: 1.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1172, allocations: 378.7 kB / 0.5028 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.1179, allocations: 442.1 kB / 0.5033 GB, free: 340 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1191, allocations: 0.8099 MB / 0.5041 GB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.1223, allocations: 2.54 MB / 0.5065 GB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.1223, allocations: 4 kB / 0.5065 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002746/0.1251, allocations: 1.843 MB / 0.5083 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.1253, allocations: 337.2 kB / 0.5087 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1254, allocations: 15.98 kB / 0.5087 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.1254, allocations: 16 kB / 0.5087 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1258, allocations: 127.7 kB / 0.5088 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.1258, allocations: 23.92 kB / 0.5088 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.1263, allocations: 135.2 kB / 0.509 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.1264, allocations: 59.94 kB / 0.509 GB, free: 9.809 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.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,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.001002/0.1274, allocations: 0.7587 MB / 0.5098 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1276, allocations: 75.67 kB / 0.5098 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.1306, allocations: 1.956 MB / 0.5118 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.1307, allocations: 4 kB / 0.5118 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1307, allocations: 4 kB / 0.5118 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1307, allocations: 0 / 0.5118 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.1351, allocations: 2.971 MB / 0.5147 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1351, allocations: 3.938 kB / 0.5147 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1352, allocations: 31.98 kB / 0.5147 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1353, allocations: 4 kB / 0.5147 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.951e-05/0.1354, allocations: 35.98 kB / 0.5147 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.1354, allocations: 11.92 kB / 0.5147 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1354, allocations: 3.938 kB / 0.5147 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.1388, allocations: 2.32 MB / 0.517 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.1389, allocations: 132.7 kB / 0.5171 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.1391, allocations: 79.97 kB / 0.5172 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.1396, allocations: 75.86 kB / 0.5173 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/0.1401, allocations: 331.5 kB / 0.5176 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.1403, allocations: 47.97 kB / 0.5176 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.1405, allocations: 251.2 kB / 0.5179 GB, free: 448 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1405, allocations: 4 kB / 0.5179 GB, free: 444 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009805/0.1415, allocations: 331.6 kB / 0.5182 GB, free: 112 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.0007407/0.1423, allocations: 374.6 kB / 0.5186 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.145, allocations: 2.07 MB / 0.5206 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.145, allocations: 3.938 kB / 0.5206 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.1479, allocations: 3.046 MB / 0.5236 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.1485, allocations: 111.6 kB / 0.5237 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1511, allocations: 1.58 MB / 0.5252 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.1516, allocations: 0.9036 MB / 0.5261 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1518, allocations: 59.41 kB / 0.5262 GB, free: 7.688 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1518, allocations: 0 / 0.5262 GB, free: 7.688 MB / 398.1 MB Notification: Performance of Templates: time 0.01699/0.1688, allocations: 12.18 MB / 0.5381 GB, free: 11.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:564:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTD.cpp:160:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9280356110539287] Failed to read output from testmodel.py, exit status != 0: 0.17480025393888354 0.18778323100000002 0.090304514 Calling exit ...