Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.001079/0.001079, allocations: 73.09 kB / 20.65 MB, free: 3.852 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.001913/0.001913, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.9696/0.9696, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.616/1.616, allocations: 273.5 MB / 0.522 GB, free: 14.71 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.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.6482 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.449e-05, allocations: 2.312 kB / 0.6482 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002433/0.002458, allocations: 2.26 MB / 0.6504 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.003262, allocations: 0.6016 MB / 0.651 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.003345, allocations: 7.375 kB / 0.651 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.00346, allocations: 23.91 kB / 0.651 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.003616, allocations: 79.05 kB / 0.6511 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003799, allocations: 57.72 kB / 0.6511 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.00403, allocations: 249.6 kB / 0.6514 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.004148, allocations: 35.34 kB / 0.6514 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004279, allocations: 125.2 kB / 0.6515 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.004443, allocations: 84.09 kB / 0.6516 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.004471, allocations: 17.34 kB / 0.6516 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.004495, allocations: 15.25 kB / 0.6516 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.004527, allocations: 31.06 kB / 0.6517 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.004594, allocations: 79.64 kB / 0.6517 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.004766, allocations: 140.3 kB / 0.6519 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004769, allocations: 2.156 kB / 0.6519 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00477, allocations: 1.312 kB / 0.6519 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.004775, allocations: 0 / 0.6519 GB, free: 36.29 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005439/0.005319, allocations: 0.5733 MB / 0.6524 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005358, allocations: 14.19 kB / 0.6524 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.005416, allocations: 39.39 kB / 0.6525 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.005585, allocations: 164 kB / 0.6526 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.005612, allocations: 10.12 kB / 0.6526 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.005643, allocations: 18.11 kB / 0.6527 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.005843, allocations: 185.1 kB / 0.6528 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.005855, allocations: 0 / 0.6528 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.005868, allocations: 5.75 kB / 0.6528 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005875, allocations: 4.594 kB / 0.6528 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.005965, allocations: 78.38 kB / 0.6529 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.006446, allocations: 0.5328 MB / 0.6534 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.006585, allocations: 110.3 kB / 0.6535 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.006626, allocations: 66.41 kB / 0.6536 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.006636, allocations: 2.25 kB / 0.6536 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.006787, allocations: 200.3 kB / 0.6538 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.006788, allocations: 1.312 kB / 0.6538 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.0006001/0.007389, allocations: 0.5477 MB / 0.6543 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.007428, allocations: 137.6 kB / 0.6545 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007546, allocations: 242.5 kB / 0.6547 GB, free: 33.91 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.00756, allocations: 31.17 kB / 0.6547 GB, free: 33.87 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.007616, allocations: 180.3 kB / 0.6549 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.007651, allocations: 74.95 kB / 0.655 GB, free: 33.65 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.007704, allocations: 54.45 kB / 0.655 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.007767, allocations: 0.5089 MB / 0.6555 GB, free: 33.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.007829, allocations: 105.2 kB / 0.6556 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.007917, allocations: 214.7 kB / 0.6558 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.008143, allocations: 330.1 kB / 0.6561 GB, free: 32.49 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008145, allocations: 0.875 kB / 0.6561 GB, free: 32.49 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002368/0.008382, allocations: 317.7 kB / 0.6564 GB, free: 32.28 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.008412, allocations: 67 kB / 0.6565 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.008419, allocations: 2.375 kB / 0.6565 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.00843, allocations: 4.312 kB / 0.6565 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.008574, allocations: 53.52 kB / 0.6566 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.008579, allocations: 4.625 kB / 0.6566 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.008663, allocations: 15.59 kB / 0.6566 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.008676, allocations: 12.5 kB / 0.6566 GB, free: 32.2 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 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.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 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: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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.0001606/0.008836, allocations: 243.2 kB / 0.6568 GB, free: 31.98 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.008877, allocations: 28.66 kB / 0.6569 GB, free: 31.97 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.00891, allocations: 22.12 kB / 0.6569 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008912, allocations: 4.125 kB / 0.6569 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008914, allocations: 1.719 kB / 0.6569 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.00892, allocations: 2.953 kB / 0.6569 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.009342, allocations: 0.4972 MB / 0.6574 GB, free: 31.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009344, allocations: 0 / 0.6574 GB, free: 31.56 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.009481, allocations: 33.59 kB / 0.6574 GB, free: 31.56 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.009485, allocations: 6.719 kB / 0.6574 GB, free: 31.56 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.0095, allocations: 10.47 kB / 0.6574 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.009503, allocations: 1.125 kB / 0.6574 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009504, allocations: 0.5625 kB / 0.6574 GB, free: 31.55 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.009918, allocations: 457.6 kB / 0.6579 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.009943, allocations: 16.83 kB / 0.6579 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.009971, allocations: 10.16 kB / 0.6579 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.01006, allocations: 14.08 kB / 0.6579 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.01012, allocations: 24.11 kB / 0.6579 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.01013, allocations: 11.88 kB / 0.6579 GB, free: 31.19 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.01021, allocations: 172.8 kB / 0.6581 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 2.438 kB / 0.6581 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002471/0.01046, allocations: 56.06 kB / 0.6582 GB, free: 31.06 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001084/0.01057, allocations: 101.5 kB / 0.6583 GB, free: 30.96 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.01081, allocations: 312.7 kB / 0.6586 GB, free: 30.72 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01081, allocations: 0 / 0.6586 GB, free: 30.72 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.56e-05/0.0109, allocations: 152.8 kB / 0.6587 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.0112, allocations: 71.44 kB / 0.6588 GB, free: 30.58 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.01249, allocations: 0.6494 MB / 0.6594 GB, free: 30.18 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.01253, allocations: 84.42 kB / 0.6595 GB, free: 30.1 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.01261, allocations: 21.84 kB / 0.6595 GB, free: 30.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01275, allocations: 136.8 kB / 0.6596 GB, free: 30.03 MB / 0.5262 GB Notification: Performance of SimCode: time 1.342e-06/0.01275, allocations: 0 / 0.6596 GB, free: 30.03 MB / 0.5262 GB Notification: Performance of Templates: time 0.005129/0.01788, allocations: 3.578 MB / 0.6631 GB, free: 29.7 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8012786991894245]