Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.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.0009562/0.0009562, 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.000979/0.000979, 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.8929/0.8929, 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.567/1.567, allocations: 273.5 MB / 0.5213 GB, free: 14.86 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.Examples.PK_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") translateModel(Pharmacolibrary.Examples.PK_3C_FentanylIV,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 1.531 kB / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.361e-05, allocations: 8.172 kB / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_3C_FentanylIV): time 0.002788/0.002821, allocations: 2.696 MB / 0.6496 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003893, allocations: 0.6659 MB / 0.6503 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004015, allocations: 2.25 kB / 0.6503 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.004147, allocations: 42.8 kB / 0.6503 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.004359, allocations: 104.8 kB / 0.6504 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.004581, allocations: 79.27 kB / 0.6505 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.00493, allocations: 382.1 kB / 0.6509 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.005078, allocations: 58.73 kB / 0.6509 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.005303, allocations: 197.2 kB / 0.6511 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.005462, allocations: 107.4 kB / 0.6512 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.005503, allocations: 27.59 kB / 0.6512 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.005543, allocations: 28.88 kB / 0.6513 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.005584, allocations: 58.33 kB / 0.6513 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.005694, allocations: 119 kB / 0.6514 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.00594, allocations: 228.3 kB / 0.6517 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005944, allocations: 1.344 kB / 0.6517 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005945, allocations: 0 / 0.6517 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.005956, allocations: 2 kB / 0.6517 GB, free: 35.88 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007285/0.006684, allocations: 0.7001 MB / 0.6523 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.00673, allocations: 9.25 kB / 0.6523 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.006822, allocations: 55.88 kB / 0.6524 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.007032, allocations: 190.1 kB / 0.6526 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.00705, allocations: 20.09 kB / 0.6526 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.007094, allocations: 30.25 kB / 0.6526 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.007405, allocations: 277.7 kB / 0.6529 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.007423, allocations: 14.66 kB / 0.6529 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.007442, allocations: 11.88 kB / 0.6529 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.007452, allocations: 4.25 kB / 0.6529 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.007655, allocations: 214.8 kB / 0.6531 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.008408, allocations: 0.5627 MB / 0.6537 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.008655, allocations: 235.5 kB / 0.6539 GB, free: 34.18 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.008754, allocations: 150 kB / 0.654 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.00877, allocations: 9.812 kB / 0.6541 GB, free: 34.05 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.009061, allocations: 435.8 kB / 0.6545 GB, free: 33.69 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.009064, allocations: 0 / 0.6545 GB, free: 33.69 MB / 0.5262 GB Notification: Performance of matching and sorting (n=45): time 0.001341/0.0104, allocations: 1.244 MB / 0.6557 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.01046, allocations: 301.6 kB / 0.656 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01062, allocations: 232.7 kB / 0.6562 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.01064, allocations: 35.27 kB / 0.6562 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.01071, allocations: 183.6 kB / 0.6564 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.0108, allocations: 151.7 kB / 0.6565 GB, free: 31.97 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.01092, allocations: 86.28 kB / 0.6566 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.01099, allocations: 0.5125 MB / 0.6571 GB, free: 31.41 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.0112, allocations: 207.9 kB / 0.6573 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.01143, allocations: 351.4 kB / 0.6577 GB, free: 30.91 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.01193, allocations: 0.6584 MB / 0.6583 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.01194, allocations: 0 / 0.6583 GB, free: 30.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004968/0.01243, allocations: 0.5896 MB / 0.6589 GB, free: 29.93 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.01248, allocations: 121 kB / 0.659 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01249, allocations: 2.906 kB / 0.659 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.01251, allocations: 12.89 kB / 0.659 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.01276, allocations: 109.9 kB / 0.6591 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.01277, allocations: 5.656 kB / 0.6591 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.0129, allocations: 22.91 kB / 0.6591 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.01292, allocations: 19.41 kB / 0.6592 GB, free: 29.77 MB / 0.5262 GB Warning: Assuming fixed start value for the following 14 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 peripheral.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real peripheral2.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 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 peripheral2.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral2.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real peripheral2.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean peripheral.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.peripheral.Cmin,peripheral.Cmin,$PRE.peripheral.Cmax,peripheral.Cmax,$PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.peripheral2.Cmin,peripheral2.Cmin,$PRE.peripheral2.Cmax,peripheral2.Cmax,$PRE.peripheral2.rising,$PRE.central.rising,$PRE.peripheral.rising,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,central.rising,peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,$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 (62): * Single equations (assignments): 58 * 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.0002411/0.01317, allocations: 340.9 kB / 0.6595 GB, free: 29.47 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.01321, allocations: 45.39 kB / 0.6595 GB, free: 29.45 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.01325, allocations: 29.88 kB / 0.6596 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01326, allocations: 5 kB / 0.6596 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01326, allocations: 0 / 0.6596 GB, free: 29.43 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.01329, allocations: 25.11 kB / 0.6596 GB, free: 29.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.01334, allocations: 18.42 kB / 0.6596 GB, free: 29.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.01342, allocations: 13.91 kB / 0.6596 GB, free: 29.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.0135, allocations: 44.31 kB / 0.6597 GB, free: 29.38 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005945/0.0141, allocations: 0.6386 MB / 0.6603 GB, free: 28.97 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006413/0.01474, allocations: 0.9638 MB / 0.6612 GB, free: 28.27 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001624/0.0149, allocations: 208.2 kB / 0.6614 GB, free: 28.13 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.01496, allocations: 167.6 kB / 0.6616 GB, free: 28.01 MB / 0.5262 GB Notification: Performance of Backend: time 4.51e-07/0.01496, allocations: 0 / 0.6616 GB, free: 28.01 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005718/0.01554, allocations: 0.595 MB / 0.6622 GB, free: 27.51 MB / 0.5262 GB Notification: Performance of SimCode: time 0.00165/0.01718, allocations: 1.675 MB / 0.6638 GB, free: 26.09 MB / 0.5262 GB Notification: Performance of Templates: time 0.007681/0.02487, allocations: 4.646 MB / 0.6683 GB, free: 25.72 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_3C_FentanylIV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.67250668304041]