Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.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.001377/0.001377, 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.001499/0.001499, allocations: 169 kB / 23.5 MB, free: 1.047 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 0.9194/0.9194, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.548/1.548, allocations: 273.5 MB / 0.5213 GB, free: 14.89 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.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6475 GB, free: 38.33 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.493e-05, allocations: 5.406 kB / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen): time 0.004459/0.004484, allocations: 3.949 MB / 0.6514 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.005868, allocations: 0.8002 MB / 0.6522 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.006029, allocations: 3.344 kB / 0.6522 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.006197, allocations: 50.61 kB / 0.6522 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.006514, allocations: 152.6 kB / 0.6524 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.006876, allocations: 110.1 kB / 0.6525 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004793/0.007355, allocations: 495 kB / 0.653 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.007546, allocations: 74.19 kB / 0.653 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.007852, allocations: 253.2 kB / 0.6533 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.008145, allocations: 153.7 kB / 0.6534 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.008201, allocations: 32.88 kB / 0.6535 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.008261, allocations: 33.38 kB / 0.6535 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.008314, allocations: 79.75 kB / 0.6536 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.008475, allocations: 143.2 kB / 0.6537 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.008833, allocations: 288.2 kB / 0.654 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.008836, allocations: 5.062 kB / 0.654 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008837, allocations: 0 / 0.654 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.008845, allocations: 0 / 0.654 GB, free: 34.35 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009653/0.009811, allocations: 0.7852 MB / 0.6547 GB, free: 33.68 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.009853, allocations: 8.531 kB / 0.6548 GB, free: 33.68 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.009972, allocations: 63.45 kB / 0.6548 GB, free: 33.65 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.01027, allocations: 234.2 kB / 0.655 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.0103, allocations: 20.66 kB / 0.6551 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.01038, allocations: 31.12 kB / 0.6551 GB, free: 33.44 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.01088, allocations: 349.8 kB / 0.6554 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.0109, allocations: 9 kB / 0.6554 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.01093, allocations: 12.12 kB / 0.6554 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01094, allocations: 5.75 kB / 0.6554 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.01125, allocations: 227.3 kB / 0.6557 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.0125, allocations: 0.8827 MB / 0.6565 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.01298, allocations: 246.8 kB / 0.6568 GB, free: 32.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.01318, allocations: 163.7 kB / 0.6569 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.01321, allocations: 6.531 kB / 0.6569 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.01364, allocations: 450.6 kB / 0.6574 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=46): time 2.575e-06/0.01364, allocations: 0 / 0.6574 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=49): time 0.001746/0.01539, allocations: 1.315 MB / 0.6586 GB, free: 30.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.01544, allocations: 309 kB / 0.6589 GB, free: 30.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.01568, allocations: 309.8 kB / 0.6592 GB, free: 30.34 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.01571, allocations: 42.45 kB / 0.6593 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.0158, allocations: 220.9 kB / 0.6595 GB, free: 30.11 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.0159, allocations: 160.4 kB / 0.6596 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.01603, allocations: 99.55 kB / 0.6597 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.0161, allocations: 0.5189 MB / 0.6602 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.01632, allocations: 211.7 kB / 0.6604 GB, free: 29.25 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.01658, allocations: 380.6 kB / 0.6608 GB, free: 28.88 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.0172, allocations: 0.7046 MB / 0.6615 GB, free: 28.23 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01721, allocations: 3.562 kB / 0.6615 GB, free: 28.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007267/0.01793, allocations: 0.631 MB / 0.6621 GB, free: 27.83 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.01798, allocations: 119.9 kB / 0.6622 GB, free: 27.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01799, allocations: 4.219 kB / 0.6622 GB, free: 27.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.01801, allocations: 5.562 kB / 0.6622 GB, free: 27.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.0184, allocations: 120.2 kB / 0.6623 GB, free: 27.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.01841, allocations: 13.12 kB / 0.6624 GB, free: 27.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.01863, allocations: 22.81 kB / 0.6624 GB, free: 27.68 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.01867, allocations: 22.19 kB / 0.6624 GB, free: 27.68 MB / 0.5262 GB Warning: Assuming fixed start value for the following 14 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.absorptionLumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean periodicDose.absorptionLumen.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.periodicDose.absorptionLumen.Cmin,periodicDose.absorptionLumen.Cmin,$PRE.periodicDose.absorptionLumen.Cmax,periodicDose.absorptionLumen.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.rising,central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 4 * 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.0002686/0.01894, allocations: 349 kB / 0.6627 GB, free: 27.37 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.01901, allocations: 56.66 kB / 0.6628 GB, free: 27.35 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.01907, allocations: 41.23 kB / 0.6628 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01908, allocations: 1.312 kB / 0.6628 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01908, allocations: 1.344 kB / 0.6628 GB, free: 27.32 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.01921, allocations: 70.39 kB / 0.6629 GB, free: 27.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.01928, allocations: 19.28 kB / 0.6629 GB, free: 27.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.01943, allocations: 21.45 kB / 0.6629 GB, free: 27.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.01953, allocations: 39 kB / 0.663 GB, free: 27.25 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008746/0.02041, allocations: 0.6635 MB / 0.6636 GB, free: 26.83 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009733/0.02138, allocations: 0.9919 MB / 0.6646 GB, free: 26.12 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002339/0.02161, allocations: 215.4 kB / 0.6648 GB, free: 25.98 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001419/0.02176, allocations: 208.3 kB / 0.665 GB, free: 25.84 MB / 0.5262 GB Notification: Performance of Backend: time 4.1e-07/0.02176, allocations: 1.344 kB / 0.665 GB, free: 25.84 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.02258, allocations: 0.6238 MB / 0.6656 GB, free: 25.34 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00269/0.02527, allocations: 1.829 MB / 0.6674 GB, free: 23.83 MB / 0.5262 GB Notification: Performance of Templates: time 0.00788/0.03315, allocations: 5.855 MB / 0.6731 GB, free: 23.39 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M01A_AntiinflammatoryAndAntirheumaticProductsNonStero.M01AE01_Ibuprofen.Ibuprofen.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.782434419030324]