Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002822/0.0002822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003967/0.0006789, allocations: 0 / 0, free: 0 / 0 " [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.0002774/0.0002774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000357/0.0006343, allocations: 0 / 0, free: 0 / 0 " [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.09578/0.09578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05063/0.1464, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.4494/0.4494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01778/0.4672, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA,startTime=0,stopTime=86400,tolerance=1e-09,numberOfIntervals=86400,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA,startTime=0,stopTime=86400,tolerance=1e-09,numberOfIntervals=86400,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.636e-05/4.882e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Comparison_healthy_SMA): time 0.005586/0.005635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01111/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.01719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.01747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009676/0.01844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.01897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007649/0.01973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.02001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.02093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.02139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.02148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.02157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.02169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.02195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.02264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001132/0.02276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.635e-06/0.02276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.331e-05/0.02277, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001607/0.02438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.457e-05/0.02446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.02461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.02504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.02512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.0252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.02589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.02592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.02597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.02598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.0263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.02774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.02818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.02831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.02832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.02905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=71): time 6.292e-06/0.02905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=75): time 0.002265/0.03132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.03141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.03174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.258e-05/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.03195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.03212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.03232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.789e-05/0.03237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.03255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.03278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.03316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.03317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006586/0.03383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.03389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.0339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.03392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.03449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.03485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.03492, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 4 variables: paracetamol_healthy_oral.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real paracetamol_healthy_oral.periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real paracetamol_SMA.periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real paracetamol_healthy.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: 28 * Number of states: 0 () * Number of discrete variables: 47 (paracetamol_healthy.central.Cmin,$PRE.paracetamol_healthy.central.Cmin,paracetamol_healthy.central.Cmax,$PRE.paracetamol_healthy.central.Cmax,paracetamol_SMA.central.Cmin,$PRE.paracetamol_SMA.central.Cmin,paracetamol_SMA.central.Cmax,$PRE.paracetamol_SMA.central.Cmax,paracetamol_healthy_oral.central.Cmin,$PRE.paracetamol_healthy_oral.central.Cmin,paracetamol_healthy_oral.central.Cmax,$PRE.paracetamol_healthy_oral.central.Cmax,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmin,$PRE.paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmin,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmax,$PRE.paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmax,paracetamol_healthy_oral.periodicDose.pulse.count,$PRE.paracetamol_healthy_oral.periodicDose.pulse.count,paracetamol_healthy_oral.periodicDose.pulse.T_start,$PRE.paracetamol_healthy_oral.periodicDose.pulse.T_start,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.rising,$PRE.paracetamol_healthy_oral.periodicDose.route.absorptionLumen.rising,paracetamol_healthy_oral.central.rising,$PRE.paracetamol_healthy_oral.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,paracetamol_SMA.periodicDose.pulse.count,$PRE.paracetamol_SMA.periodicDose.pulse.count,paracetamol_SMA.periodicDose.pulse.T_start,$PRE.paracetamol_SMA.periodicDose.pulse.T_start,paracetamol_SMA.central.rising,$PRE.paracetamol_SMA.central.rising,$whenCondition8,$whenCondition7,$whenCondition6,paracetamol_healthy.periodicDose.pulse.count,$PRE.paracetamol_healthy.periodicDose.pulse.count,paracetamol_healthy.periodicDose.pulse.T_start,$PRE.paracetamol_healthy.periodicDose.pulse.T_start,paracetamol_healthy.central.rising,$PRE.paracetamol_healthy.central.rising,$whenCondition11,$whenCondition10,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 7 * 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.000334/0.03526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.03535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.03547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.03548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.03549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.03551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.03668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.03669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.03711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.03733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.03734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.03739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.0374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.03813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.03836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.0387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.03887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.03892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001621/0.03908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.328e-05/0.0391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008732/0.03997, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 15 (paracetamol_healthy_oral.central.C,paracetamol_healthy_oral.central.AUC,paracetamol_healthy_oral.elim.MExc,paracetamol_healthy_oral.periodicDose.TotalCumulativeMass,paracetamol_healthy_oral.periodicDose.route.variableDose.TotalCumulativeMass,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.C,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.AUC,paracetamol_SMA.central.C,paracetamol_SMA.central.AUC,paracetamol_SMA.elim.MExc,paracetamol_SMA.periodicDose.TotalCumulativeMass,paracetamol_healthy.central.C,paracetamol_healthy.central.AUC,paracetamol_healthy.elim.MExc,paracetamol_healthy.periodicDose.TotalCumulativeMass) * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,paracetamol_healthy_oral.central.Cmax,paracetamol_healthy_oral.central.Cmin,paracetamol_healthy_oral.central.rising,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmax,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmin,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.rising,paracetamol_healthy_oral.periodicDose.pulse.T_start,paracetamol_healthy_oral.periodicDose.pulse.count,$whenCondition6,$whenCondition7,$whenCondition8,paracetamol_SMA.central.Cmax,paracetamol_SMA.central.Cmin,paracetamol_SMA.central.rising,paracetamol_SMA.periodicDose.pulse.T_start,paracetamol_SMA.periodicDose.pulse.count,$whenCondition9,$whenCondition10,$whenCondition11,paracetamol_healthy.central.Cmax,paracetamol_healthy.central.Cmin,paracetamol_healthy.central.rising,paracetamol_healthy.periodicDose.pulse.T_start,paracetamol_healthy.periodicDose.pulse.count) * Number of discrete states: 23 (paracetamol_healthy.periodicDose.pulse.count,paracetamol_healthy.central.Cmin,$whenCondition11,paracetamol_healthy.central.Cmax,$whenCondition10,paracetamol_healthy.central.rising,paracetamol_SMA.periodicDose.pulse.count,paracetamol_SMA.central.Cmin,$whenCondition8,paracetamol_SMA.central.Cmax,$whenCondition7,paracetamol_SMA.central.rising,paracetamol_healthy_oral.periodicDose.pulse.count,paracetamol_healthy_oral.central.Cmin,$whenCondition5,paracetamol_healthy_oral.central.Cmax,$whenCondition4,paracetamol_healthy_oral.central.rising,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmin,$whenCondition3,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.Cmax,$whenCondition2,paracetamol_healthy_oral.periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 6 * 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.0002714/0.04024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006864/0.04093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.733e-05/0.04097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000377/0.04134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.04258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.05035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.05051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000531/0.05105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.0517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.383e-05/0.05176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003151/0.05491, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.2571853958070278]