Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.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.0009654/0.0009654, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001746/0.001746, 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.8972/0.8972, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.608/1.608, allocations: 273.5 MB / 0.5213 GB, free: 14.88 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.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.647 GB, free: 38.82 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.686e-05, allocations: 2.312 kB / 0.647 GB, free: 38.82 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModelOral): time 0.003172/0.003189, allocations: 2.396 MB / 0.6493 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008957/0.004084, allocations: 0.6142 MB / 0.6499 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.004182, allocations: 3.5 kB / 0.6499 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.688e-05/0.004249, allocations: 32.91 kB / 0.6499 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.00447, allocations: 76.36 kB / 0.65 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004677, allocations: 59.75 kB / 0.6501 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.004961, allocations: 308.4 kB / 0.6504 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.005116, allocations: 47.08 kB / 0.6504 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.005326, allocations: 159.2 kB / 0.6506 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.00549, allocations: 83.11 kB / 0.6506 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.005532, allocations: 23.72 kB / 0.6507 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.005572, allocations: 23.38 kB / 0.6507 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.005619, allocations: 46.23 kB / 0.6507 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.005725, allocations: 93.16 kB / 0.6508 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.005969, allocations: 174.8 kB / 0.651 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005971, allocations: 6.969 kB / 0.651 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005972, allocations: 0 / 0.651 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.005977, allocations: 5.344 kB / 0.651 GB, free: 36.37 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007341/0.006711, allocations: 0.6162 MB / 0.6516 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.006755, allocations: 10.41 kB / 0.6516 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.006847, allocations: 44.73 kB / 0.6517 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.006968, allocations: 148.6 kB / 0.6518 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.006991, allocations: 13.72 kB / 0.6518 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.007038, allocations: 23.36 kB / 0.6518 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.007372, allocations: 218.1 kB / 0.652 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.007395, allocations: 2.781 kB / 0.652 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.007415, allocations: 6.938 kB / 0.652 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.007426, allocations: 5.844 kB / 0.6521 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.007651, allocations: 147.7 kB / 0.6522 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.008411, allocations: 0.4985 MB / 0.6527 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.008658, allocations: 168.4 kB / 0.6528 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.008774, allocations: 103.5 kB / 0.6529 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.008787, allocations: 9.344 kB / 0.6529 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.009074, allocations: 319.4 kB / 0.6533 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.009077, allocations: 0 / 0.6533 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32): time 0.001359/0.01044, allocations: 0.9025 MB / 0.6541 GB, free: 33.92 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.01048, allocations: 220.4 kB / 0.6543 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01063, allocations: 214.7 kB / 0.6546 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01066, allocations: 33.33 kB / 0.6546 GB, free: 33.45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.01072, allocations: 176.5 kB / 0.6548 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.01079, allocations: 106.2 kB / 0.6549 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.01088, allocations: 72.5 kB / 0.6549 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.01095, allocations: 0.5015 MB / 0.6554 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.01111, allocations: 147 kB / 0.6556 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.01133, allocations: 263.8 kB / 0.6558 GB, free: 32.27 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.0118, allocations: 479.7 kB / 0.6563 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0118, allocations: 0 / 0.6563 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005168/0.01232, allocations: 452 kB / 0.6567 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.01236, allocations: 90.23 kB / 0.6568 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01236, allocations: 1.812 kB / 0.6568 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01238, allocations: 3.938 kB / 0.6568 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.01269, allocations: 75.44 kB / 0.6569 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.01271, allocations: 7.844 kB / 0.6569 GB, free: 31.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.01288, allocations: 16.66 kB / 0.6569 GB, free: 31.44 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.01291, allocations: 15.97 kB / 0.6569 GB, free: 31.43 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose1.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose1.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" 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.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 peripheral.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: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.periodicDose1.pulse.count,$PRE.periodicDose1.pulse.T_start,$PRE.peripheral.rising,$PRE.central.rising,periodicDose1.pulse.count,periodicDose1.pulse.T_start,peripheral.rising,central.rising,$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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * 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.0002441/0.01315, allocations: 287.2 kB / 0.6572 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.01323, allocations: 32.38 kB / 0.6572 GB, free: 31.16 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.01328, allocations: 28.61 kB / 0.6572 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01329, allocations: 0.5 kB / 0.6572 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01329, allocations: 2.25 kB / 0.6572 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.01332, allocations: 20.42 kB / 0.6572 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.01338, allocations: 9.938 kB / 0.6573 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.0135, allocations: 15.66 kB / 0.6573 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.0136, allocations: 36.97 kB / 0.6573 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007602/0.01436, allocations: 496.9 kB / 0.6578 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000737/0.01509, allocations: 0.7537 MB / 0.6585 GB, free: 30.21 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001777/0.01527, allocations: 141.5 kB / 0.6587 GB, free: 30.12 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.01535, allocations: 167.2 kB / 0.6588 GB, free: 29.99 MB / 0.5262 GB Notification: Performance of Backend: time 2.9e-07/0.01535, allocations: 1.875 kB / 0.6588 GB, free: 29.99 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.01598, allocations: 471.8 kB / 0.6593 GB, free: 29.59 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00197/0.01795, allocations: 1.428 MB / 0.6607 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of Templates: time 0.006981/0.02493, allocations: 3.643 MB / 0.6642 GB, free: 28.09 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModelOral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.716642251005396]