Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.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.001073/0.001073, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.002676, allocations: 440 kB / 10.41 MB, free: 284 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.001129/0.001129, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002728, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.006/1.006, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.7551/0.7551, allocations: 291.2 MB / 0.5228 GB, free: 52.67 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0311/0.7862, allocations: 21.05 MB / 0.5434 GB, free: 31.68 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.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.5448 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.266e-05, allocations: 6.25 kB / 0.5448 GB, free: 30.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene): time 0.002698/0.002721, allocations: 2.496 MB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.007096, allocations: 6.692 MB / 0.5538 GB, free: 21.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.007231, allocations: 4 kB / 0.5538 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.007306, allocations: 23.72 kB / 0.5538 GB, free: 21.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.007452, allocations: 91.27 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.007595, allocations: 55.8 kB / 0.5539 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.007786, allocations: 266.6 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.007905, allocations: 38.55 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.008066, allocations: 180.2 kB / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.008212, allocations: 87.72 kB / 0.5545 GB, free: 20.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.008236, allocations: 16 kB / 0.5545 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.008259, allocations: 16 kB / 0.5545 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.008289, allocations: 27.88 kB / 0.5545 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.008341, allocations: 59.88 kB / 0.5546 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.008501, allocations: 143.5 kB / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.008513, allocations: 0 / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.008513, allocations: 0 / 0.5547 GB, free: 20.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.008523, allocations: 4 kB / 0.5547 GB, free: 20.05 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005857/0.009109, allocations: 0.4937 MB / 0.5552 GB, free: 19.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.009141, allocations: 15.89 kB / 0.5552 GB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.009186, allocations: 20.92 kB / 0.5553 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.009343, allocations: 183 kB / 0.5554 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.00936, allocations: 8.609 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.009384, allocations: 16.38 kB / 0.5554 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.009535, allocations: 163.4 kB / 0.5556 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.009546, allocations: 7.984 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.009556, allocations: 4 kB / 0.5556 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.009561, allocations: 4 kB / 0.5556 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.009633, allocations: 78.28 kB / 0.5557 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.009991, allocations: 365 kB / 0.556 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.01014, allocations: 115.3 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.01018, allocations: 66.53 kB / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.01019, allocations: 0 / 0.5562 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.01031, allocations: 200.3 kB / 0.5564 GB, free: 18.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.01031, allocations: 0 / 0.5564 GB, free: 18.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005057/0.01082, allocations: 0.5084 MB / 0.5569 GB, free: 17.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.01085, allocations: 166.2 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.01093, allocations: 206 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.01094, allocations: 33.7 kB / 0.5573 GB, free: 17.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.01099, allocations: 120.4 kB / 0.5574 GB, free: 17.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01102, allocations: 63.47 kB / 0.5575 GB, free: 16.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.01106, allocations: 55.17 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.0111, allocations: 334.8 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.01115, allocations: 97 kB / 0.5579 GB, free: 16.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.01121, allocations: 177.3 kB / 0.5581 GB, free: 16.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.0113, allocations: 215.8 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0113, allocations: 4 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001414/0.01144, allocations: 257 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.01147, allocations: 63.41 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01148, allocations: 6.875 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.01149, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01164, allocations: 67.89 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.01164, allocations: 4 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.01171, allocations: 19.92 kB / 0.5587 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01173, allocations: 8 kB / 0.5587 GB, free: 15.53 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001024/0.01183, allocations: 173.5 kB / 0.5589 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.01186, allocations: 23.98 kB / 0.5589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.01188, allocations: 25.95 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01189, allocations: 4 kB / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.01189, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01189, allocations: 0 / 0.5589 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.01213, allocations: 380.7 kB / 0.5593 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01213, allocations: 3.938 kB / 0.5593 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01224, allocations: 43.91 kB / 0.5593 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.01226, allocations: 23.84 kB / 0.5594 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01226, allocations: 4 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01227, allocations: 8 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01228, allocations: 0 / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01228, allocations: 0 / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2965/0.3087, allocations: 341.9 kB / 0.5597 GB, free: 79.28 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.3088, allocations: 8.5 kB / 0.5597 GB, free: 79.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3089, allocations: 11.72 kB / 0.5597 GB, free: 79.28 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.309, allocations: 22.17 kB / 0.5597 GB, free: 79.28 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.309, allocations: 6.906 kB / 0.5598 GB, free: 79.28 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.3091, allocations: 64.38 kB / 0.5598 GB, free: 79.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 2.688 kB / 0.5598 GB, free: 79.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002181/0.3093, allocations: 55.97 kB / 0.5599 GB, free: 79.27 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001616/0.3094, allocations: 98.78 kB / 0.56 GB, free: 79.2 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3098, allocations: 306.6 kB / 0.5603 GB, free: 78.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/0.3098, allocations: 3.375 kB / 0.5603 GB, free: 78.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3099, allocations: 154.2 kB / 0.5604 GB, free: 78.88 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3103, allocations: 0.5012 MB / 0.5609 GB, free: 78.38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.316, allocations: 0.561 MB / 0.5614 GB, free: 78.11 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.006e-05/0.316, allocations: 83.19 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.3162, allocations: 23.06 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.3163, allocations: 115.2 kB / 0.5617 GB, free: 77.99 MB / 410.8 MB Notification: Performance of SimCode: time 1.443e-06/0.3163, allocations: 1.75 kB / 0.5617 GB, free: 77.99 MB / 410.8 MB Notification: Performance of Templates: time 0.006987/0.3233, allocations: 3.801 MB / 0.5654 GB, free: 77.8 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BB05_Nalmefene.Nalmefene.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7135289227589965]