Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.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.000714/0.000714, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009809/0.001695, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009514/0.0009514, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002138, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.123/1.123, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1211/1.244, 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.8846/0.8846, allocations: 291.2 MB / 0.5227 GB, free: 52.2 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04368/0.9283, allocations: 21.05 MB / 0.5432 GB, free: 31.21 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_Bragg1995_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.5446 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.615e-05, allocations: 6.25 kB / 0.5446 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference): time 0.003216/0.003252, allocations: 2.489 MB / 0.547 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.009441, allocations: 6.688 MB / 0.5536 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.009614, allocations: 4 kB / 0.5536 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.009713, allocations: 35.64 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.009936, allocations: 87.33 kB / 0.5537 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.01014, allocations: 55.75 kB / 0.5537 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.0104, allocations: 270.6 kB / 0.554 GB, free: 20.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.01056, allocations: 42.53 kB / 0.554 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.0108, allocations: 172.3 kB / 0.5542 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.01097, allocations: 87.72 kB / 0.5543 GB, free: 19.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.01101, allocations: 16 kB / 0.5543 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.54e-05/0.01103, allocations: 20 kB / 0.5543 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.01106, allocations: 27.88 kB / 0.5543 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.01113, allocations: 59.88 kB / 0.5544 GB, free: 19.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.01134, allocations: 147.5 kB / 0.5545 GB, free: 19.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.825e-05/0.01136, allocations: 0 / 0.5545 GB, free: 19.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.01136, allocations: 0 / 0.5545 GB, free: 19.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.01137, allocations: 0 / 0.5545 GB, free: 19.63 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.0006527/0.01203, allocations: 0.4898 MB / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.01206, allocations: 19.89 kB / 0.555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.01211, allocations: 28.91 kB / 0.5551 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.01227, allocations: 179 kB / 0.5552 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.01229, allocations: 11.36 kB / 0.5552 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.01232, allocations: 20.31 kB / 0.5553 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.0125, allocations: 155.5 kB / 0.5554 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.01252, allocations: 3.984 kB / 0.5554 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.01254, allocations: 4 kB / 0.5554 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.01254, allocations: 4 kB / 0.5554 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.01263, allocations: 80.64 kB / 0.5555 GB, free: 18.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.01308, allocations: 365 kB / 0.5559 GB, free: 18.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.01328, allocations: 104.2 kB / 0.556 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.01332, allocations: 61.67 kB / 0.556 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.01333, allocations: 4 kB / 0.556 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.01352, allocations: 192.3 kB / 0.5562 GB, free: 17.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.01352, allocations: 0 / 0.5562 GB, free: 17.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007759/0.01429, allocations: 0.5199 MB / 0.5567 GB, free: 17.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.01434, allocations: 162.2 kB / 0.5569 GB, free: 17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.01444, allocations: 206 kB / 0.5571 GB, free: 16.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.01446, allocations: 29.7 kB / 0.5571 GB, free: 16.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.0145, allocations: 124.4 kB / 0.5572 GB, free: 16.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.01454, allocations: 67.47 kB / 0.5573 GB, free: 16.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.01459, allocations: 59.16 kB / 0.5573 GB, free: 16.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.01464, allocations: 330.8 kB / 0.5576 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.0147, allocations: 101 kB / 0.5577 GB, free: 16.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.01478, allocations: 177.3 kB / 0.5579 GB, free: 15.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.0149, allocations: 203.8 kB / 0.5581 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0149, allocations: 0 / 0.5581 GB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001946/0.0151, allocations: 275.5 kB / 0.5584 GB, free: 15.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.01515, allocations: 63.39 kB / 0.5584 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.01517, allocations: 3.984 kB / 0.5584 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01518, allocations: 4 kB / 0.5584 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.01538, allocations: 63.89 kB / 0.5585 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01538, allocations: 4 kB / 0.5585 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.01546, allocations: 20.16 kB / 0.5585 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01548, allocations: 26.52 kB / 0.5585 GB, free: 15.1 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.0001572/0.01564, allocations: 165.6 kB / 0.5587 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01567, allocations: 27.97 kB / 0.5587 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.01571, allocations: 17.97 kB / 0.5587 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01571, allocations: 0 / 0.5587 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.01572, allocations: 3.984 kB / 0.5587 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.01573, allocations: 0 / 0.5587 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3856/0.4013, allocations: 377.2 kB / 0.5591 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.4013, allocations: 5.188 kB / 0.5591 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4016, allocations: 39.56 kB / 0.5591 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.4017, allocations: 16.48 kB / 0.5592 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4017, allocations: 2 kB / 0.5592 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.4017, allocations: 3.125 kB / 0.5592 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4017, allocations: 2 kB / 0.5592 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4017, allocations: 0.5625 kB / 0.5592 GB, free: 79.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.4021, allocations: 353.1 kB / 0.5595 GB, free: 78.94 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4021, allocations: 6.344 kB / 0.5595 GB, free: 78.94 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4022, allocations: 14.98 kB / 0.5595 GB, free: 78.94 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.4023, allocations: 17.58 kB / 0.5595 GB, free: 78.94 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4023, allocations: 6.062 kB / 0.5595 GB, free: 78.94 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.4024, allocations: 67.03 kB / 0.5596 GB, free: 78.93 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 0.5596 GB, free: 78.93 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002344/0.4026, allocations: 60.22 kB / 0.5597 GB, free: 78.93 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.000128/0.4027, allocations: 92.05 kB / 0.5598 GB, free: 78.87 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.403, allocations: 313.5 kB / 0.5601 GB, free: 78.64 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.403, allocations: 2.375 kB / 0.5601 GB, free: 78.64 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4031, allocations: 154.2 kB / 0.5602 GB, free: 78.54 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4034, allocations: 86.02 kB / 0.5603 GB, free: 78.54 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.4089, allocations: 0.5558 MB / 0.5608 GB, free: 78.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.4089, allocations: 82.14 kB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.409, allocations: 24.34 kB / 0.5609 GB, free: 78.2 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4092, allocations: 119.8 kB / 0.561 GB, free: 78.16 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/0.4092, allocations: 0 / 0.561 GB, free: 78.16 MB / 410.8 MB Notification: Performance of Templates: time 0.005962/0.4151, allocations: 3.789 MB / 0.5647 GB, free: 77.94 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine_Bragg1995_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.065780307166278]