Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.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.0007314/0.0007314, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001799, 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.0006824/0.0006824, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008367/0.001519, 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09463/1.121, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.8419/0.8419, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0342/0.8761, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.N02A_Opioids.N02AA01_Morphine.Morphine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5447 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.883e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.44 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine): time 0.004169/0.004188, allocations: 6.569 MB / 0.5511 GB, free: 23.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005879/0.01007, allocations: 7.554 MB / 0.5585 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.0105, allocations: 11.94 kB / 0.5585 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.01069, allocations: 146.5 kB / 0.5586 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.01127, allocations: 456.2 kB / 0.5591 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.01163, allocations: 267.5 kB / 0.5593 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2882/0.2999, allocations: 1.491 MB / 0.5608 GB, free: 75.17 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.3002, allocations: 225.9 kB / 0.561 GB, free: 75.12 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009764/0.3012, allocations: 0.8936 MB / 0.5619 GB, free: 74.99 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.3017, allocations: 460.3 kB / 0.5623 GB, free: 74.93 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3019, allocations: 99.66 kB / 0.5624 GB, free: 74.93 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.302, allocations: 103 kB / 0.5625 GB, free: 74.93 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3021, allocations: 158 kB / 0.5626 GB, free: 74.89 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.3025, allocations: 373 kB / 0.563 GB, free: 74.86 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.3033, allocations: 0.7623 MB / 0.5637 GB, free: 74.75 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.3033, allocations: 0 / 0.5637 GB, free: 74.75 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3033, allocations: 1.438 kB / 0.5637 GB, free: 74.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.3033, allocations: 0 / 0.5637 GB, free: 74.75 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001683/0.305, allocations: 1.763 MB / 0.5655 GB, free: 73.76 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.305, allocations: 9.25 kB / 0.5655 GB, free: 73.76 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.3052, allocations: 142 kB / 0.5656 GB, free: 73.76 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.3057, allocations: 372.6 kB / 0.566 GB, free: 73.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.3057, allocations: 64.59 kB / 0.566 GB, free: 73.52 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3058, allocations: 95.44 kB / 0.5661 GB, free: 73.51 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.3065, allocations: 0.7854 MB / 0.5669 GB, free: 73.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.3066, allocations: 19.48 kB / 0.5669 GB, free: 73.13 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.3066, allocations: 35.5 kB / 0.5669 GB, free: 73.13 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.3066, allocations: 21.62 kB / 0.567 GB, free: 73.13 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.3072, allocations: 0.6355 MB / 0.5676 GB, free: 72.79 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3088, allocations: 1.125 MB / 0.5687 GB, free: 72.52 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.3093, allocations: 0.6616 MB / 0.5693 GB, free: 72.17 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3096, allocations: 460.8 kB / 0.5698 GB, free: 71.85 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.3096, allocations: 19.92 kB / 0.5698 GB, free: 71.85 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006494/0.3103, allocations: 1.317 MB / 0.5711 GB, free: 70.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=137): time 3.236e-06/0.3103, allocations: 0.6094 kB / 0.5711 GB, free: 70.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=147): time 0.002913/0.3132, allocations: 3.417 MB / 0.5744 GB, free: 68.98 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.3134, allocations: 1.14 MB / 0.5755 GB, free: 67.67 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.3138, allocations: 454.2 kB / 0.5759 GB, free: 67.51 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.3138, allocations: 67.73 kB / 0.576 GB, free: 67.48 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3139, allocations: 267.4 kB / 0.5763 GB, free: 67.29 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.3141, allocations: 489.1 kB / 0.5767 GB, free: 66.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.3144, allocations: 256.5 kB / 0.577 GB, free: 66.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.3144, allocations: 359.3 kB / 0.5773 GB, free: 66.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.3147, allocations: 0.5508 MB / 0.5779 GB, free: 66.16 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.3152, allocations: 0.8795 MB / 0.5787 GB, free: 65.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.3161, allocations: 1.339 MB / 0.58 GB, free: 64.18 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.3162, allocations: 2.625 kB / 0.58 GB, free: 64.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.001378/0.3175, allocations: 1.416 MB / 0.5814 GB, free: 63.24 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/0.3176, allocations: 345.5 kB / 0.5817 GB, free: 62.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3176, allocations: 9.344 kB / 0.5817 GB, free: 62.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3177, allocations: 20.94 kB / 0.5818 GB, free: 62.85 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.3185, allocations: 443.1 kB / 0.5822 GB, free: 62.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3185, allocations: 20.12 kB / 0.5822 GB, free: 62.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3188, allocations: 66.81 kB / 0.5823 GB, free: 62.77 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.3188, allocations: 48.12 kB / 0.5823 GB, free: 62.77 MB / 410.8 MB Warning: Assuming fixed start value for the following 3 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 infusionDose.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: 40 * Number of states: 0 () * Number of discrete variables: 90 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,central_M1.Cmin,$PRE.central_M1.Cmin,central_M1.Cmax,$PRE.central_M1.Cmax,peripheral_M1.Cmin,$PRE.peripheral_M1.Cmin,peripheral_M1.Cmax,$PRE.peripheral_M1.Cmax,peripheral2_M1.Cmin,$PRE.peripheral2_M1.Cmin,peripheral2_M1.Cmax,$PRE.peripheral2_M1.Cmax,central_M2.Cmin,$PRE.central_M2.Cmin,central_M2.Cmax,$PRE.central_M2.Cmax,peripheral_M2.Cmin,$PRE.peripheral_M2.Cmin,peripheral_M2.Cmax,$PRE.peripheral_M2.Cmax,peripheral2_M2.Cmin,$PRE.peripheral2_M2.Cmin,peripheral2_M2.Cmax,$PRE.peripheral2_M2.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,infusionDose.pulse.count,$PRE.infusionDose.pulse.count,infusionDose.pulse.T_start,$PRE.infusionDose.pulse.T_start,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,peripheral2_M2.rising,$PRE.peripheral2_M2.rising,peripheral_M2.rising,$PRE.peripheral_M2.rising,central_M2.rising,$PRE.central_M2.rising,peripheral2_M1.rising,$PRE.peripheral2_M1.rising,peripheral_M1.rising,$PRE.peripheral_M1.rising,central_M1.rising,$PRE.central_M1.rising,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,central.rising,$PRE.central.rising,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 12 * 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.0003289/0.3192, allocations: 0.558 MB / 0.5829 GB, free: 62.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3193, allocations: 130.2 kB / 0.583 GB, free: 62.28 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/0.3202, allocations: 1.268 MB / 0.5842 GB, free: 61.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3202, allocations: 13 kB / 0.5842 GB, free: 61.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3202, allocations: 0.8438 kB / 0.5842 GB, free: 61.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3204, allocations: 105.8 kB / 0.5843 GB, free: 61.37 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.3204, allocations: 47.81 kB / 0.5844 GB, free: 61.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3206, allocations: 47.84 kB / 0.5844 GB, free: 61.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3208, allocations: 44.11 kB / 0.5845 GB, free: 61.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3209, allocations: 113 kB / 0.5846 GB, free: 61.3 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001096/0.322, allocations: 1.387 MB / 0.5859 GB, free: 60.38 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001283/0.3233, allocations: 2.038 MB / 0.5879 GB, free: 58.97 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003887/0.3237, allocations: 0.6125 MB / 0.5885 GB, free: 58.57 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000185/0.3238, allocations: 208.8 kB / 0.5887 GB, free: 58.51 MB / 410.8 MB Notification: Performance of Backend: time 3.9e-07/0.3238, allocations: 3.469 kB / 0.5887 GB, free: 58.51 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3249, allocations: 1.688 MB / 0.5904 GB, free: 57.21 MB / 410.8 MB Notification: Performance of SimCode: time 0.0235/0.3484, allocations: 3.104 MB / 0.5934 GB, free: 54.99 MB / 410.8 MB Notification: Performance of Templates: time 0.01769/0.3661, allocations: 17.83 MB / 0.6108 GB, free: 39.29 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.283522241748869]