Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.001227/0.001227, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001471/0.001471, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9301/0.9301, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.04946/0.04946, allocations: 12.64 MB / 271.8 MB, free: 0.7227 MB / 250.7 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.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 402.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.343e-05, allocations: 5.234 kB / 402.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002185/0.002208, allocations: 1.734 MB / 404 MB, free: 7.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.00478, allocations: 1.893 MB / 405.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.005078, allocations: 7.938 kB / 405.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.005555, allocations: 127 kB / 406 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.005796, allocations: 143 kB / 406.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.007309, allocations: 0.9548 MB / 407.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.008643, allocations: 1.353 MB / 408.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.008859, allocations: 68.28 kB / 408.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009528/0.009811, allocations: 0.7527 MB / 409.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.01039, allocations: 287.1 kB / 409.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.0105, allocations: 72 kB / 409.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008676/0.01137, allocations: 0.6277 MB / 410.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01153, allocations: 155.2 kB / 410.4 MB, free: 1.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.01175, allocations: 243.4 kB / 410.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1594/0.1711, allocations: 1.217 MB / 411.9 MB, free: 17.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1711, allocations: 1.375 kB / 411.9 MB, free: 17.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1711, allocations: 0 / 411.9 MB, free: 17.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.028e-05/0.1712, allocations: 2.359 kB / 411.9 MB, free: 17.21 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00133/0.1725, allocations: 1.175 MB / 413 MB, free: 16.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1725, allocations: 9.969 kB / 413 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1726, allocations: 115.8 kB / 413.2 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1728, allocations: 90.66 kB / 413.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.1732, allocations: 348.5 kB / 413.6 MB, free: 16.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.1733, allocations: 107.3 kB / 413.7 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.1734, allocations: 67.23 kB / 413.8 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1748, allocations: 1.653 MB / 415.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1748, allocations: 6.938 kB / 415.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.1748, allocations: 31.28 kB / 415.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.1749, allocations: 55.16 kB / 415.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/0.1759, allocations: 1.101 MB / 416.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.1783, allocations: 2.747 MB / 419.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.1791, allocations: 0.9124 MB / 420.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.1798, allocations: 0.8249 MB / 421.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.1799, allocations: 6.625 kB / 421.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.181, allocations: 1.237 MB / 422.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 1.864e-06/0.181, allocations: 1.062 kB / 422.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.002955/0.1839, allocations: 3.074 MB / 425.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.1841, allocations: 0.6135 MB / 426 MB, free: 9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1846, allocations: 394.2 kB / 426.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.1846, allocations: 63.47 kB / 426.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1848, allocations: 255.7 kB / 426.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.1849, allocations: 205.4 kB / 426.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.1851, allocations: 212.2 kB / 427.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.1852, allocations: 379.6 kB / 427.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.1857, allocations: 0.6399 MB / 428.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.1863, allocations: 1.138 MB / 429.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.1879, allocations: 2.148 MB / 431.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.1879, allocations: 3.969 kB / 431.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001842/0.1898, allocations: 1.908 MB / 433.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.1899, allocations: 339.3 kB / 433.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.19, allocations: 11.22 kB / 433.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.19, allocations: 16.09 kB / 433.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.1904, allocations: 125.2 kB / 433.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-05/0.1904, allocations: 22 kB / 433.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.1909, allocations: 113.2 kB / 433.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.895e-05/0.191, allocations: 55.38 kB / 434 MB, free: 3.137 MB / 330.7 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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0009669/0.1919, allocations: 0.7398 MB / 434.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.192, allocations: 69.53 kB / 434.8 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.1943, allocations: 2.071 MB / 436.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.1943, allocations: 7.531 kB / 436.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1943, allocations: 1.219 kB / 436.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1943, allocations: 1.078 kB / 436.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.1973, allocations: 2.851 MB / 439.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1973, allocations: 144 / 439.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.1974, allocations: 28 kB / 439.8 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.1974, allocations: 5.797 kB / 439.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.1975, allocations: 38.66 kB / 439.8 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1975, allocations: 6.531 kB / 439.8 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1975, allocations: 0 / 439.8 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.1998, allocations: 2.597 MB / 442.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.1999, allocations: 54.41 kB / 442.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.2, allocations: 69.84 kB / 442.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2002, allocations: 60.09 kB / 442.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.2003, allocations: 88.41 kB / 442.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.2004, allocations: 44.11 kB / 442.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.2006, allocations: 237.3 kB / 442.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2006, allocations: 0 / 442.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009917/0.2016, allocations: 320.5 kB / 443.3 MB, free: 14.32 MB / 346.7 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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.003079/0.2046, allocations: 3.435 MB / 446.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.2066, allocations: 2.452 MB / 449.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2066, allocations: 0 / 449.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.2078, allocations: 1.528 MB / 450.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.2082, allocations: 97.41 kB / 450.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.2162, allocations: 8.925 MB / 459.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2164, allocations: 312.3 kB / 460 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.2167, allocations: 140.7 kB / 460.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2169, allocations: 176.4 kB / 460.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2169, allocations: 4 kB / 460.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.2481, allocations: 17.46 MB / 477.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.715, allocations: 7.359 kB / 477.8 MB, free: 11.46 MB / 378.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.667247174307704]