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.001053/0.001053, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.000976/0.000976, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9565/0.9565, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.596/1.596, allocations: 273.5 MB / 0.5209 GB, free: 14.98 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 1.923e-06/1.923e-06, allocations: 0 / 0.7558 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.748e-05, allocations: 2.281 kB / 0.7558 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.002754/0.002782, allocations: 2.136 MB / 0.7579 GB, free: 8.594 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.003604, allocations: 0.589 MB / 0.7584 GB, free: 8.012 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.003686, allocations: 3.938 kB / 0.7584 GB, free: 8.008 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003807, allocations: 21.09 kB / 0.7585 GB, free: 7.988 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.003975, allocations: 90.94 kB / 0.7585 GB, free: 7.922 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.004188, allocations: 48.53 kB / 0.7586 GB, free: 7.875 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.004426, allocations: 247.4 kB / 0.7588 GB, free: 7.652 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.00457, allocations: 33.94 kB / 0.7589 GB, free: 7.617 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.004701, allocations: 123.7 kB / 0.759 GB, free: 7.496 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.004875, allocations: 79.72 kB / 0.7591 GB, free: 7.418 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.004902, allocations: 16 kB / 0.7591 GB, free: 7.402 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.004928, allocations: 20 kB / 0.7591 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.004961, allocations: 31.84 kB / 0.7591 GB, free: 7.352 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.005038, allocations: 75.83 kB / 0.7592 GB, free: 7.277 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.005245, allocations: 195.4 kB / 0.7594 GB, free: 7.086 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005247, allocations: 0 / 0.7594 GB, free: 7.086 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005249, allocations: 0 / 0.7594 GB, free: 7.086 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005253, allocations: 0 / 0.7594 GB, free: 7.086 MB / 0.5887 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.0006771/0.00593, allocations: 476.7 kB / 0.7598 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.005971, allocations: 8.031 kB / 0.7598 GB, free: 6.57 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.006024, allocations: 28.8 kB / 0.7599 GB, free: 6.543 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.00622, allocations: 186.2 kB / 0.76 GB, free: 6.332 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.006236, allocations: 12.38 kB / 0.7601 GB, free: 6.32 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.006269, allocations: 12.38 kB / 0.7601 GB, free: 6.309 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.006543, allocations: 195.8 kB / 0.7603 GB, free: 6.098 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.006555, allocations: 3.938 kB / 0.7603 GB, free: 6.094 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.006572, allocations: 8 kB / 0.7603 GB, free: 6.086 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006579, allocations: 3.938 kB / 0.7603 GB, free: 6.082 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.006785, allocations: 146.1 kB / 0.7604 GB, free: 5.934 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.007386, allocations: 489 kB / 0.7609 GB, free: 5.422 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.007649, allocations: 176 kB / 0.761 GB, free: 5.234 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.007756, allocations: 90.52 kB / 0.7611 GB, free: 5.137 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.007766, allocations: 4 kB / 0.7611 GB, free: 5.133 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.008017, allocations: 228.4 kB / 0.7614 GB, free: 4.879 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.008019, allocations: 0 / 0.7614 GB, free: 4.879 MB / 0.5887 GB Notification: Performance of matching and sorting (n=22): time 0.001022/0.009041, allocations: 0.7033 MB / 0.762 GB, free: 4.113 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.009113, allocations: 136.5 kB / 0.7622 GB, free: 3.949 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.009261, allocations: 203.7 kB / 0.7624 GB, free: 3.742 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.009281, allocations: 37.7 kB / 0.7624 GB, free: 3.699 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.009348, allocations: 124.4 kB / 0.7625 GB, free: 3.574 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.009388, allocations: 75.36 kB / 0.7626 GB, free: 3.5 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.009445, allocations: 49.94 kB / 0.7626 GB, free: 3.445 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0004186/0.009864, allocations: 338.8 kB / 0.763 GB, free: 3.105 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.01002, allocations: 148.8 kB / 0.7631 GB, free: 2.945 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.01019, allocations: 227.1 kB / 0.7633 GB, free: 2.676 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.01075, allocations: 0.5264 MB / 0.7638 GB, free: 2.082 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01075, allocations: 0 / 0.7638 GB, free: 2.082 MB / 0.5887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003882/0.01114, allocations: 404 kB / 0.7642 GB, free: 1.656 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.01118, allocations: 63.39 kB / 0.7643 GB, free: 1.582 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01119, allocations: 4 kB / 0.7643 GB, free: 1.578 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01121, allocations: 8.188 kB / 0.7643 GB, free: 1.57 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01135, allocations: 55.91 kB / 0.7643 GB, free: 1.516 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.01136, allocations: 7.938 kB / 0.7644 GB, free: 1.508 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.01145, allocations: 23.92 kB / 0.7644 GB, free: 1.484 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01147, allocations: 8 kB / 0.7644 GB, free: 1.477 MB / 0.5887 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.000178/0.01165, allocations: 200.4 kB / 0.7646 GB, free: 1.27 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.01167, allocations: 23.86 kB / 0.7646 GB, free: 1.246 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.0117, allocations: 21.97 kB / 0.7646 GB, free: 1.23 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01171, allocations: 0 / 0.7646 GB, free: 1.23 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01171, allocations: 3.984 kB / 0.7646 GB, free: 1.227 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.01172, allocations: 3.938 kB / 0.7646 GB, free: 1.223 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.01223, allocations: 0.5288 MB / 0.7651 GB, free: 0.6445 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01224, allocations: 0 / 0.7651 GB, free: 0.6445 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.01235, allocations: 43.91 kB / 0.7652 GB, free: 0.6016 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01235, allocations: 0 / 0.7652 GB, free: 0.6016 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01237, allocations: 7.984 kB / 0.7652 GB, free: 0.5938 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01237, allocations: 0 / 0.7652 GB, free: 0.5938 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01237, allocations: 0 / 0.7652 GB, free: 0.5938 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.01282, allocations: 0.4996 MB / 0.7657 GB, free: 64 kB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.01285, allocations: 19.91 kB / 0.7657 GB, free: 44 kB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01287, allocations: 8 kB / 0.7657 GB, free: 36 kB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.01295, allocations: 11.98 kB / 0.7657 GB, free: 24 kB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.01303, allocations: 27.89 kB / 0.7657 GB, free: 15.99 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.01305, allocations: 15.94 kB / 0.7658 GB, free: 15.98 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.01313, allocations: 141.9 kB / 0.7659 GB, free: 15.84 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01313, allocations: 0 / 0.7659 GB, free: 15.84 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001902/0.01332, allocations: 52 kB / 0.7659 GB, free: 15.79 MB / 0.6043 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 9.251e-05/0.01341, allocations: 107.2 kB / 0.766 GB, free: 15.68 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.01379, allocations: 383.7 kB / 0.7664 GB, free: 15.26 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01379, allocations: 0 / 0.7664 GB, free: 15.26 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.01396, allocations: 180.9 kB / 0.7666 GB, free: 15.07 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.0143, allocations: 65.08 kB / 0.7666 GB, free: 15.01 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.01519, allocations: 0.6213 MB / 0.7673 GB, free: 14.36 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.01528, allocations: 129.2 kB / 0.7674 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.01533, allocations: 20.5 kB / 0.7674 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of SimCode: time 9.92e-07/0.01533, allocations: 0 / 0.7674 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of Templates: time 0.003998/0.01933, allocations: 2.821 MB / 0.7701 GB, free: 11.42 MB / 0.6043 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 > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.798571952851489]