Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.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.001366/0.001366, allocations: 91.55 kB / 20.19 MB, free: 4.348 MB / 18.57 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.001492/0.001492, allocations: 169 kB / 23.5 MB, free: 1.039 MB / 18.57 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.593/1.593, allocations: 273.5 MB / 0.5213 GB, free: 14.87 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites,tolerance=1e-09,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites,tolerance=1e-09,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.6471 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.353e-05, allocations: 5.531 kB / 0.6471 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites): time 0.002724/0.002738, allocations: 3.774 MB / 0.6508 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.003726, allocations: 0.8639 MB / 0.6517 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.003858, allocations: 8.188 kB / 0.6517 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.00402, allocations: 71.97 kB / 0.6517 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.004275, allocations: 179.5 kB / 0.6519 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.004506, allocations: 136.1 kB / 0.652 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.004926, allocations: 0.6446 MB / 0.6527 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.005099, allocations: 109 kB / 0.6528 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.005328, allocations: 338.9 kB / 0.6531 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.005518, allocations: 194.2 kB / 0.6533 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.005568, allocations: 45.69 kB / 0.6533 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.005617, allocations: 47 kB / 0.6534 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.005664, allocations: 97.91 kB / 0.6535 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.005803, allocations: 202.4 kB / 0.6537 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.006075, allocations: 388.3 kB / 0.654 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006077, allocations: 1.375 kB / 0.654 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006078, allocations: 0 / 0.654 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.006084, allocations: 0 / 0.654 GB, free: 34.55 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.0008135/0.006898, allocations: 0.9401 MB / 0.6549 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.006933, allocations: 7.719 kB / 0.655 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.00703, allocations: 93.62 kB / 0.655 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.00725, allocations: 262.8 kB / 0.6553 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.007272, allocations: 30.09 kB / 0.6553 GB, free: 33.49 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.007324, allocations: 50.2 kB / 0.6554 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.007787, allocations: 444.9 kB / 0.6558 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.007811, allocations: 18.23 kB / 0.6558 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.007838, allocations: 22.12 kB / 0.6558 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.007855, allocations: 9.844 kB / 0.6558 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.008231, allocations: 369.4 kB / 0.6562 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.009136, allocations: 0.8245 MB / 0.657 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.009464, allocations: 406.7 kB / 0.6574 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.009627, allocations: 266.4 kB / 0.6576 GB, free: 32.04 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009646, allocations: 14.38 kB / 0.6577 GB, free: 32.03 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.009996, allocations: 0.6923 MB / 0.6583 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=74): time 1.883e-06/0.009997, allocations: 1.344 kB / 0.6583 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of matching and sorting (n=79): time 0.001633/0.01163, allocations: 2.031 MB / 0.6603 GB, free: 30.12 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.01169, allocations: 464.4 kB / 0.6608 GB, free: 29.58 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01184, allocations: 281.3 kB / 0.661 GB, free: 29.38 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.01187, allocations: 47.61 kB / 0.6611 GB, free: 29.34 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.01194, allocations: 230.6 kB / 0.6613 GB, free: 29.14 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.01204, allocations: 268 kB / 0.6615 GB, free: 28.93 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.01215, allocations: 134.2 kB / 0.6617 GB, free: 28.86 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.01221, allocations: 0.5297 MB / 0.6622 GB, free: 28.34 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.01242, allocations: 318 kB / 0.6625 GB, free: 28.11 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01267, allocations: 0.533 MB / 0.663 GB, free: 27.57 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.01327, allocations: 1.081 MB / 0.6641 GB, free: 26.61 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01327, allocations: 1.375 kB / 0.6641 GB, free: 26.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006613/0.01393, allocations: 0.9379 MB / 0.665 GB, free: 26.02 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.01397, allocations: 180.3 kB / 0.6652 GB, free: 25.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01398, allocations: 5.656 kB / 0.6652 GB, free: 25.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.014, allocations: 8.469 kB / 0.6652 GB, free: 25.82 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.01435, allocations: 179.3 kB / 0.6653 GB, free: 25.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.01437, allocations: 15.88 kB / 0.6654 GB, free: 25.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.01452, allocations: 27.62 kB / 0.6654 GB, free: 25.79 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.01455, allocations: 41.28 kB / 0.6654 GB, free: 25.78 MB / 0.5262 GB Warning: Assuming fixed start value for the following 22 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real acetaminophen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gluconic_acid.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real sulfate_conjugates.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real NAPQI.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real gluthatione_conjugation.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real acetaminophen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real acetaminophen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real gluconic_acid.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real gluconic_acid.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real sulfate_conjugates.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real sulfate_conjugates.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real NAPQI.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real NAPQI.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real gluthatione_conjugation.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real gluthatione_conjugation.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real gluthatione_conjugation.rising:DISCRETE(fixed = true protected = true ) type: Boolean NAPQI.rising:DISCRETE(fixed = true protected = true ) type: Boolean sulfate_conjugates.rising:DISCRETE(fixed = true protected = true ) type: Boolean gluconic_acid.rising:DISCRETE(fixed = true protected = true ) type: Boolean acetaminophen.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.acetaminophen.Cmin,acetaminophen.Cmin,$PRE.acetaminophen.Cmax,acetaminophen.Cmax,$PRE.gluconic_acid.Cmin,gluconic_acid.Cmin,$PRE.gluconic_acid.Cmax,gluconic_acid.Cmax,$PRE.sulfate_conjugates.Cmin,sulfate_conjugates.Cmin,$PRE.sulfate_conjugates.Cmax,sulfate_conjugates.Cmax,$PRE.NAPQI.Cmin,NAPQI.Cmin,$PRE.NAPQI.Cmax,NAPQI.Cmax,$PRE.gluthatione_conjugation.Cmin,gluthatione_conjugation.Cmin,$PRE.gluthatione_conjugation.Cmax,gluthatione_conjugation.Cmax,$PRE.gluthatione_conjugation.rising,$PRE.NAPQI.rising,$PRE.sulfate_conjugates.rising,$PRE.gluconic_acid.rising,$PRE.acetaminophen.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,gluthatione_conjugation.rising,NAPQI.rising,sulfate_conjugates.rising,gluconic_acid.rising,acetaminophen.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 6 * 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.0002285/0.01478, allocations: 443.8 kB / 0.6658 GB, free: 25.39 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.01484, allocations: 81 kB / 0.6659 GB, free: 25.36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.56e-05/0.01489, allocations: 51.8 kB / 0.666 GB, free: 25.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.0149, allocations: 3.609 kB / 0.666 GB, free: 25.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.0149, allocations: 1.469 kB / 0.666 GB, free: 25.32 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.01493, allocations: 36.97 kB / 0.666 GB, free: 25.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.01498, allocations: 25.78 kB / 0.666 GB, free: 25.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.01509, allocations: 23.73 kB / 0.6661 GB, free: 25.27 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.01517, allocations: 59.36 kB / 0.6661 GB, free: 25.26 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008278/0.016, allocations: 0.9972 MB / 0.6671 GB, free: 24.66 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000872/0.01687, allocations: 1.43 MB / 0.6685 GB, free: 23.69 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002232/0.01709, allocations: 343.5 kB / 0.6688 GB, free: 23.48 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.01717, allocations: 198.9 kB / 0.669 GB, free: 23.34 MB / 0.5262 GB Notification: Performance of Backend: time 4.01e-07/0.01717, allocations: 0 / 0.669 GB, free: 23.34 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0006389/0.01781, allocations: 0.8965 MB / 0.6699 GB, free: 22.61 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001807/0.01962, allocations: 2.297 MB / 0.6721 GB, free: 20.73 MB / 0.5262 GB Notification: Performance of Templates: time 0.009392/0.02901, allocations: 7.361 MB / 0.6793 GB, free: 19.91 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BE01_Paracetamol.Paracetamol_metabolites.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.824834909057245]