Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.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.0006556/0.0006556, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008382/0.001494, 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.0006649/0.0006649, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008801/0.001545, 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 0.9554/0.9554, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1219/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7975/0.7975, allocations: 291.1 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03149/0.829, allocations: 21.04 MB / 0.5433 GB, free: 31.47 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.N02AC01_Dextromoramide.Dextromoramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.36e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide): time 0.002075/0.002089, allocations: 2.511 MB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.006243, allocations: 6.684 MB / 0.5537 GB, free: 20.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.006317, allocations: 4 kB / 0.5537 GB, free: 20.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.943e-05/0.006376, allocations: 27.7 kB / 0.5537 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.00649, allocations: 83.28 kB / 0.5538 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.006606, allocations: 59.8 kB / 0.5539 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.006782, allocations: 266.6 kB / 0.5541 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.006869, allocations: 38.53 kB / 0.5541 GB, free: 20.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.007017, allocations: 180.2 kB / 0.5543 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.007151, allocations: 91.72 kB / 0.5544 GB, free: 20.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.007172, allocations: 16 kB / 0.5544 GB, free: 20.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.007195, allocations: 16 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.00722, allocations: 27.88 kB / 0.5545 GB, free: 20.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.007267, allocations: 59.88 kB / 0.5545 GB, free: 19.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.007408, allocations: 143.5 kB / 0.5547 GB, free: 19.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.007417, allocations: 0 / 0.5547 GB, free: 19.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007417, allocations: 0 / 0.5547 GB, free: 19.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.007425, allocations: 0 / 0.5547 GB, free: 19.83 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.0004883/0.007913, allocations: 0.4937 MB / 0.5551 GB, free: 19.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.007942, allocations: 15.89 kB / 0.5552 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.007983, allocations: 24.91 kB / 0.5552 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.008119, allocations: 183 kB / 0.5554 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.008135, allocations: 8.609 kB / 0.5554 GB, free: 19.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.00816, allocations: 16.38 kB / 0.5554 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.008304, allocations: 155.5 kB / 0.5555 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.008314, allocations: 4 kB / 0.5555 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.008323, allocations: 4 kB / 0.5555 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.008329, allocations: 4 kB / 0.5555 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.0084, allocations: 82.52 kB / 0.5556 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.008741, allocations: 365 kB / 0.556 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.008901, allocations: 112.1 kB / 0.5561 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.008938, allocations: 58.55 kB / 0.5561 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.008945, allocations: 4 kB / 0.5561 GB, free: 18.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.009086, allocations: 203.5 kB / 0.5563 GB, free: 17.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.009088, allocations: 3.984 kB / 0.5563 GB, free: 17.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005388/0.009627, allocations: 0.5137 MB / 0.5568 GB, free: 17.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.009659, allocations: 162.2 kB / 0.557 GB, free: 17.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.00975, allocations: 210 kB / 0.5572 GB, free: 16.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.009762, allocations: 29.7 kB / 0.5572 GB, free: 16.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.009794, allocations: 120.4 kB / 0.5573 GB, free: 16.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.009824, allocations: 67.47 kB / 0.5574 GB, free: 16.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.009871, allocations: 59.16 kB / 0.5574 GB, free: 16.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.009905, allocations: 334.8 kB / 0.5578 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.009954, allocations: 101 kB / 0.5579 GB, free: 16.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.01002, allocations: 169.3 kB / 0.558 GB, free: 16.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.01012, allocations: 215.8 kB / 0.5582 GB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01012, allocations: 4 kB / 0.5582 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001447/0.01026, allocations: 261 kB / 0.5585 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.01029, allocations: 63.41 kB / 0.5585 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.0103, allocations: 6.656 kB / 0.5585 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01031, allocations: 4 kB / 0.5586 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01047, allocations: 68.11 kB / 0.5586 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.01047, allocations: 4 kB / 0.5586 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.01055, allocations: 19.92 kB / 0.5586 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01056, allocations: 8 kB / 0.5586 GB, free: 15.3 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 8.569e-05/0.01064, allocations: 173.5 kB / 0.5588 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.01066, allocations: 19.98 kB / 0.5588 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.01069, allocations: 25.95 kB / 0.5589 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01069, allocations: 8 kB / 0.5589 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.01069, allocations: 0 / 0.5589 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.0107, allocations: 0 / 0.5589 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2691/0.2798, allocations: 371.3 kB / 0.5592 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2798, allocations: 3.188 kB / 0.5592 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.28, allocations: 42.12 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.2801, allocations: 15.91 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2801, allocations: 0.8438 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2801, allocations: 6.984 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2801, allocations: 2 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2801, allocations: 2.688 kB / 0.5593 GB, free: 79.08 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2804, allocations: 355.6 kB / 0.5596 GB, free: 78.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2804, allocations: 7.125 kB / 0.5596 GB, free: 78.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2805, allocations: 11.58 kB / 0.5596 GB, free: 78.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.2806, allocations: 21.3 kB / 0.5597 GB, free: 78.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2806, allocations: 7.375 kB / 0.5597 GB, free: 78.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.385e-05/0.2807, allocations: 62.84 kB / 0.5597 GB, free: 78.85 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2807, allocations: 1.375 kB / 0.5597 GB, free: 78.85 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002876/0.281, allocations: 56.66 kB / 0.5598 GB, free: 78.85 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.0001786/0.2811, allocations: 94.39 kB / 0.5599 GB, free: 78.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.2815, allocations: 316.2 kB / 0.5602 GB, free: 78.55 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.2815, allocations: 3.375 kB / 0.5602 GB, free: 78.55 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2817, allocations: 153.1 kB / 0.5603 GB, free: 78.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2821, allocations: 0.4978 MB / 0.5608 GB, free: 77.95 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.2877, allocations: 0.5615 MB / 0.5614 GB, free: 77.68 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.2877, allocations: 83.23 kB / 0.5614 GB, free: 77.61 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.894e-05/0.2878, allocations: 25.56 kB / 0.5615 GB, free: 77.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.288, allocations: 119 kB / 0.5616 GB, free: 77.57 MB / 410.8 MB Notification: Performance of SimCode: time 1.112e-06/0.288, allocations: 0 / 0.5616 GB, free: 77.57 MB / 410.8 MB Notification: Performance of Templates: time 0.006369/0.2944, allocations: 3.799 MB / 0.5653 GB, free: 77.38 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7848047567531466]