Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.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.002369/0.002369, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002725/0.002725, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] 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 1.49/1.49, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003968/0.003968, allocations: 77.12 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1549, allocations: 73.99 MB / 0.8473 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol): time 0.004213/0.1591, allocations: 2.3 MB / 0.8495 GB, free: 2.598 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2562/0.4153, allocations: 6.53 MB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.4155, allocations: 1.125 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.4156, allocations: 25.75 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4158, allocations: 81 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.416, allocations: 56.28 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.4163, allocations: 256.9 kB / 0.8563 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4164, allocations: 36.69 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.4165, allocations: 104.3 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.4167, allocations: 91.48 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.4167, allocations: 17.19 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-05/0.4167, allocations: 17 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.4168, allocations: 37.45 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.4169, allocations: 97.92 kB / 0.8567 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.4171, allocations: 200.2 kB / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4171, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4171, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4171, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 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.0007311/0.4178, allocations: 498.1 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.4178, allocations: 8.531 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.4179, allocations: 23.89 kB / 0.8574 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.4181, allocations: 190 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4181, allocations: 10.27 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.4181, allocations: 20.48 kB / 0.8576 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.4185, allocations: 189.9 kB / 0.8577 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4185, allocations: 4.812 kB / 0.8578 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4185, allocations: 5.438 kB / 0.8578 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4185, allocations: 2.719 kB / 0.8578 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.4188, allocations: 150.2 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.4195, allocations: 479.5 kB / 0.8584 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.4199, allocations: 177.5 kB / 0.8585 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.4201, allocations: 94.19 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.4201, allocations: 2.344 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.4204, allocations: 231.1 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.4204, allocations: 2.75 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001248/0.4216, allocations: 0.6959 MB / 0.8595 GB, free: 20.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4217, allocations: 142.1 kB / 0.8597 GB, free: 20.13 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4218, allocations: 217.2 kB / 0.8599 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4219, allocations: 33.73 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.4219, allocations: 133 kB / 0.86 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.4219, allocations: 72.81 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.422, allocations: 52.95 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4221, allocations: 339.9 kB / 0.8605 GB, free: 19.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.4223, allocations: 144.9 kB / 0.8606 GB, free: 19.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4225, allocations: 223.1 kB / 0.8608 GB, free: 19.28 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.4228, allocations: 281.9 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4228, allocations: 2 kB / 0.8611 GB, free: 19.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005229/0.4234, allocations: 390.6 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4234, allocations: 60.75 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4234, allocations: 7.75 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4234, allocations: 3.438 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.4236, allocations: 57.77 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4236, allocations: 3.062 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4238, allocations: 17.66 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4238, allocations: 13.27 kB / 0.8616 GB, free: 18.86 MB / 490.8 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.0001398/0.4239, allocations: 176 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.424, allocations: 22.86 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.424, allocations: 31.19 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.424, allocations: 1.125 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.424, allocations: 2.406 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.424, allocations: 1.5 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.4247, allocations: 0.5388 MB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4247, allocations: 0 / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.4248, allocations: 40.89 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4248, allocations: 11.5 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4248, allocations: 4.312 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4249, allocations: 7.562 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4249, allocations: 0 / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.4255, allocations: 497.5 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.4255, allocations: 22.47 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.4256, allocations: 9.531 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.4257, allocations: 11.05 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.4258, allocations: 26.19 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4258, allocations: 3.406 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4259, allocations: 163.3 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4259, allocations: 0.625 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002856/0.4262, allocations: 55.03 kB / 0.8632 GB, free: 18.03 MB / 490.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 8.998e-05/0.4263, allocations: 118.4 kB / 0.8633 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4268, allocations: 378 kB / 0.8637 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4268, allocations: 0.625 kB / 0.8637 GB, free: 17.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.427, allocations: 173.7 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.4274, allocations: 73.75 kB / 0.8639 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4285, allocations: 0.6797 MB / 0.8646 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.4286, allocations: 126 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.78e-05/0.4287, allocations: 25.42 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.4288, allocations: 20.83 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 3.9e-07/0.4288, allocations: 3.938 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.008047/0.4368, allocations: 3.626 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N03A_Antiepileptics.N03AX24_Cannabidiol.Cannabidiol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.803778786910698]