Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.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.0007281/0.0007281, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009087/0.001637, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007191/0.0007191, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001626, allocations: 475.7 kB / 11.72 MB, free: 2.453 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1111/1.118, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7414/0.7414, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03007/0.7714, allocations: 21.04 MB / 0.5432 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.5446 GB, free: 30.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.04e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol): time 0.002562/0.002572, allocations: 3.776 MB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.006625, allocations: 6.907 MB / 0.5551 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.006853, allocations: 4 kB / 0.5551 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.006956, allocations: 55.44 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.007201, allocations: 162.6 kB / 0.5553 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.007381, allocations: 115.7 kB / 0.5554 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.007698, allocations: 0.5402 MB / 0.5559 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.007841, allocations: 101.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.008119, allocations: 338.4 kB / 0.5563 GB, free: 18.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.008313, allocations: 167.5 kB / 0.5565 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.00835, allocations: 40 kB / 0.5565 GB, free: 18.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.501e-05/0.008385, allocations: 40 kB / 0.5566 GB, free: 18.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.008422, allocations: 59.75 kB / 0.5566 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.008524, allocations: 139.8 kB / 0.5568 GB, free: 18.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.008763, allocations: 290.9 kB / 0.557 GB, free: 17.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.008775, allocations: 0 / 0.557 GB, free: 17.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.008776, allocations: 0 / 0.557 GB, free: 17.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.008788, allocations: 0 / 0.557 GB, free: 17.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007312/0.009519, allocations: 0.7664 MB / 0.5578 GB, free: 16.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.009554, allocations: 15.98 kB / 0.5578 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.00962, allocations: 52.89 kB / 0.5579 GB, free: 16.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.009827, allocations: 221.2 kB / 0.5581 GB, free: 16.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.009849, allocations: 21.03 kB / 0.5581 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.009888, allocations: 32.36 kB / 0.5581 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.01014, allocations: 330.3 kB / 0.5584 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01016, allocations: 3.953 kB / 0.5584 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.01017, allocations: 12 kB / 0.5584 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01018, allocations: 8 kB / 0.5584 GB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.01032, allocations: 208.2 kB / 0.5586 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.01103, allocations: 0.6361 MB / 0.5593 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2768/0.2878, allocations: 220.6 kB / 0.5595 GB, free: 78.06 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.288, allocations: 146.5 kB / 0.5596 GB, free: 77.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.288, allocations: 10.31 kB / 0.5596 GB, free: 77.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.2882, allocations: 442.6 kB / 0.5601 GB, free: 77.63 MB / 410.8 MB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.2882, allocations: 0 / 0.5601 GB, free: 77.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=48): time 0.001201/0.2894, allocations: 1.137 MB / 0.5612 GB, free: 77 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2895, allocations: 387.7 kB / 0.5615 GB, free: 76.56 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.2897, allocations: 259.9 kB / 0.5618 GB, free: 76.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2897, allocations: 41.58 kB / 0.5618 GB, free: 76.42 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.2898, allocations: 153.8 kB / 0.562 GB, free: 76.34 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.2898, allocations: 165.9 kB / 0.5621 GB, free: 76.26 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.2899, allocations: 93 kB / 0.5622 GB, free: 76.25 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.29, allocations: 359.9 kB / 0.5626 GB, free: 75.93 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2901, allocations: 196.3 kB / 0.5627 GB, free: 75.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.2902, allocations: 326.6 kB / 0.5631 GB, free: 75.51 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2905, allocations: 472.1 kB / 0.5635 GB, free: 75.15 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2905, allocations: 1.219 kB / 0.5635 GB, free: 75.15 MB / 410.8 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003602/0.2909, allocations: 0.5045 MB / 0.564 GB, free: 74.86 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.2909, allocations: 116.9 kB / 0.5641 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2909, allocations: 4.688 kB / 0.5641 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2909, allocations: 10.17 kB / 0.5641 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.2913, allocations: 155.4 kB / 0.5643 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2913, allocations: 10.08 kB / 0.5643 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2914, allocations: 25.25 kB / 0.5643 GB, free: 74.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2915, allocations: 17.5 kB / 0.5643 GB, free: 74.73 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 4 * 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.0001821/0.2916, allocations: 255.4 kB / 0.5646 GB, free: 74.52 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.2917, allocations: 47.86 kB / 0.5646 GB, free: 74.52 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.2917, allocations: 44.95 kB / 0.5647 GB, free: 74.52 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2918, allocations: 7.5 kB / 0.5647 GB, free: 74.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2918, allocations: 0 / 0.5647 GB, free: 74.52 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.2919, allocations: 44.08 kB / 0.5647 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2919, allocations: 16.97 kB / 0.5647 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.2919, allocations: 16.22 kB / 0.5647 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.292, allocations: 17.86 kB / 0.5648 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.2921, allocations: 42.55 kB / 0.5648 GB, free: 74.5 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004115/0.2925, allocations: 0.5061 MB / 0.5653 GB, free: 74.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000464/0.293, allocations: 0.779 MB / 0.566 GB, free: 73.69 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001492/0.2931, allocations: 195.5 kB / 0.5662 GB, free: 73.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.432e-05/0.2932, allocations: 98.05 kB / 0.5663 GB, free: 73.57 MB / 410.8 MB Notification: Performance of Backend: time 3.21e-07/0.2932, allocations: 0 / 0.5663 GB, free: 73.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.2937, allocations: 0.6196 MB / 0.5669 GB, free: 73.14 MB / 410.8 MB Notification: Performance of SimCode: time 0.0099/0.3036, allocations: 1.571 MB / 0.5685 GB, free: 72.04 MB / 410.8 MB Notification: Performance of Templates: time 0.009532/0.3132, allocations: 6.951 MB / 0.5753 GB, free: 70 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.91377189848572]