Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.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.001281/0.001281, allocations: 92.48 kB / 19.94 MB, free: 4.598 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.001446/0.001446, allocations: 165.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.9144/0.9144, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.6585/0.6585, allocations: 291.1 MB / 0.5382 GB, free: 51.89 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.Paracetamol.Paracetamol_Briant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant") translateModel(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.924e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.005728/0.005747, allocations: 2.995 MB / 0.7002 GB, free: 7.352 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.006483, allocations: 0.705 MB / 0.7009 GB, free: 6.645 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.006575, allocations: 0 / 0.7009 GB, free: 6.645 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.006682, allocations: 39.64 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.006861, allocations: 126.9 kB / 0.7011 GB, free: 6.48 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.007033, allocations: 87.83 kB / 0.7012 GB, free: 6.395 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.007263, allocations: 429.9 kB / 0.7016 GB, free: 5.973 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.007394, allocations: 58.28 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.007532, allocations: 223.4 kB / 0.7018 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.007701, allocations: 131.6 kB / 0.702 GB, free: 5.57 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.007734, allocations: 36 kB / 0.702 GB, free: 5.535 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.007764, allocations: 32 kB / 0.702 GB, free: 5.504 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.007798, allocations: 59.77 kB / 0.7021 GB, free: 5.445 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.007873, allocations: 127.7 kB / 0.7022 GB, free: 5.32 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.008077, allocations: 355 kB / 0.7026 GB, free: 4.973 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00808, allocations: 4 kB / 0.7026 GB, free: 4.969 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.008081, allocations: 0 / 0.7026 GB, free: 4.969 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.008085, allocations: 0 / 0.7026 GB, free: 4.969 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006089/0.008694, allocations: 0.6115 MB / 0.7032 GB, free: 4.309 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.008726, allocations: 8.031 kB / 0.7032 GB, free: 4.301 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.008775, allocations: 32.75 kB / 0.7032 GB, free: 4.27 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.008955, allocations: 224.7 kB / 0.7034 GB, free: 4.027 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.008971, allocations: 12.88 kB / 0.7034 GB, free: 4.016 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.009003, allocations: 28.31 kB / 0.7034 GB, free: 3.988 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.00928, allocations: 302.2 kB / 0.7037 GB, free: 3.664 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.009294, allocations: 4 kB / 0.7037 GB, free: 3.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.009313, allocations: 19.97 kB / 0.7038 GB, free: 3.641 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.009318, allocations: 8 kB / 0.7038 GB, free: 3.633 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.009567, allocations: 244.2 kB / 0.704 GB, free: 3.383 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.01016, allocations: 0.6465 MB / 0.7046 GB, free: 2.699 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.0105, allocations: 283.6 kB / 0.7049 GB, free: 2.402 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.01064, allocations: 160.4 kB / 0.7051 GB, free: 2.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.01065, allocations: 0 / 0.7051 GB, free: 2.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.01088, allocations: 375.4 kB / 0.7054 GB, free: 1.812 MB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.262e-06/0.01088, allocations: 0 / 0.7054 GB, free: 1.812 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.001041/0.01192, allocations: 1.135 MB / 0.7065 GB, free: 0.582 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.01196, allocations: 217.6 kB / 0.7067 GB, free: 328 kB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.01209, allocations: 253.8 kB / 0.707 GB, free: 68 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.0121, allocations: 37.7 kB / 0.707 GB, free: 24 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.01218, allocations: 152.8 kB / 0.7072 GB, free: 15.87 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.01224, allocations: 123 kB / 0.7073 GB, free: 15.75 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.01231, allocations: 66.2 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.0124, allocations: 350.7 kB / 0.7077 GB, free: 15.32 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.01261, allocations: 227.8 kB / 0.7079 GB, free: 15.08 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.01285, allocations: 322.9 kB / 0.7082 GB, free: 14.7 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.01335, allocations: 458.1 kB / 0.7086 GB, free: 14.18 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01335, allocations: 0 / 0.7086 GB, free: 14.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004833/0.01383, allocations: 0.5809 MB / 0.7092 GB, free: 13.56 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.01387, allocations: 89.09 kB / 0.7093 GB, free: 13.45 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01387, allocations: 4 kB / 0.7093 GB, free: 13.45 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.01388, allocations: 4 kB / 0.7093 GB, free: 13.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01404, allocations: 79.89 kB / 0.7094 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01404, allocations: 7.938 kB / 0.7094 GB, free: 13.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01415, allocations: 23.98 kB / 0.7094 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.01417, allocations: 20.2 kB / 0.7094 GB, free: 13.32 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.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 (50): * Single equations (assignments): 47 * 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.0001425/0.01431, allocations: 227.7 kB / 0.7096 GB, free: 13.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01434, allocations: 31.81 kB / 0.7097 GB, free: 13.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.01437, allocations: 34.95 kB / 0.7097 GB, free: 13.01 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01437, allocations: 4 kB / 0.7097 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01437, allocations: 0 / 0.7097 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01438, allocations: 0 / 0.7097 GB, free: 13 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.01505, allocations: 0.8214 MB / 0.7105 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01505, allocations: 0 / 0.7105 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.01519, allocations: 59.91 kB / 0.7106 GB, free: 12.06 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01519, allocations: 3.984 kB / 0.7106 GB, free: 12.06 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01521, allocations: 15.98 kB / 0.7106 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01521, allocations: 4 kB / 0.7106 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01521, allocations: 0 / 0.7106 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.01582, allocations: 0.7679 MB / 0.7113 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.01589, allocations: 51.77 kB / 0.7114 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.01593, allocations: 19.94 kB / 0.7114 GB, free: 11.15 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.01602, allocations: 15.98 kB / 0.7114 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.01608, allocations: 35.89 kB / 0.7115 GB, free: 11.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01609, allocations: 15.92 kB / 0.7115 GB, free: 11.08 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001041/0.0162, allocations: 181.2 kB / 0.7116 GB, free: 10.91 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0162, allocations: 0 / 0.7116 GB, free: 10.91 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002074/0.0164, allocations: 92 kB / 0.7117 GB, free: 10.82 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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 7.31e-05/0.01648, allocations: 118.7 kB / 0.7118 GB, free: 10.7 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.01692, allocations: 0.5842 MB / 0.7124 GB, free: 10.04 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.01692, allocations: 0 / 0.7124 GB, free: 10.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.01713, allocations: 314.7 kB / 0.7127 GB, free: 9.699 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.01744, allocations: 92.38 kB / 0.7128 GB, free: 9.605 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.0183, allocations: 0.879 MB / 0.7137 GB, free: 8.684 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.01839, allocations: 160.2 kB / 0.7138 GB, free: 8.504 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.01845, allocations: 40.48 kB / 0.7138 GB, free: 8.465 MB / 426.8 MB Notification: Performance of SimCode: time 3.91e-07/0.01845, allocations: 4 kB / 0.7139 GB, free: 8.461 MB / 426.8 MB Notification: Performance of Templates: time 0.003565/0.02202, allocations: 4.339 MB / 0.7181 GB, free: 4.16 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant > Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.659305717796087]