Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.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.001388/0.001388, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.001605/0.001605, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.6846/0.6846, allocations: 291.2 MB / 0.5382 GB, free: 51.34 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.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.648e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI): time 0.001924/0.00194, allocations: 2.305 MB / 0.6996 GB, free: 8.066 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.002559, allocations: 0.5999 MB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.002634, allocations: 0 / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.911e-05/0.002734, allocations: 23.72 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.002882, allocations: 95.25 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.003036, allocations: 51.88 kB / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.003206, allocations: 266.6 kB / 0.7006 GB, free: 7.035 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003318, allocations: 32.58 kB / 0.7006 GB, free: 7.008 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003431, allocations: 139.6 kB / 0.7008 GB, free: 6.871 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.003576, allocations: 83.72 kB / 0.7009 GB, free: 6.789 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.0036, allocations: 16 kB / 0.7009 GB, free: 6.773 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.003619, allocations: 20 kB / 0.7009 GB, free: 6.754 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.003644, allocations: 39.84 kB / 0.7009 GB, free: 6.715 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.003699, allocations: 75.77 kB / 0.701 GB, free: 6.641 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.003853, allocations: 203.4 kB / 0.7012 GB, free: 6.441 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003855, allocations: 0 / 0.7012 GB, free: 6.441 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003855, allocations: 0 / 0.7012 GB, free: 6.441 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003859, allocations: 0 / 0.7012 GB, free: 6.441 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005403/0.004399, allocations: 492.8 kB / 0.7017 GB, free: 5.914 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.00443, allocations: 12.03 kB / 0.7017 GB, free: 5.902 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.004473, allocations: 28.8 kB / 0.7017 GB, free: 5.875 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.004615, allocations: 182.4 kB / 0.7019 GB, free: 5.668 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.004629, allocations: 8.609 kB / 0.7019 GB, free: 5.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.004653, allocations: 16.38 kB / 0.7019 GB, free: 5.645 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.004857, allocations: 198.5 kB / 0.7021 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.004869, allocations: 7.891 kB / 0.7021 GB, free: 5.43 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.004882, allocations: 8 kB / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.004887, allocations: 0 / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.005063, allocations: 150.3 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.005502, allocations: 481.4 kB / 0.7027 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.005772, allocations: 184 kB / 0.7029 GB, free: 4.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.005859, allocations: 94.52 kB / 0.703 GB, free: 4.469 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.005868, allocations: 4 kB / 0.703 GB, free: 4.465 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.006045, allocations: 237.6 kB / 0.7032 GB, free: 4.207 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.006046, allocations: 0 / 0.7032 GB, free: 4.207 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0007538/0.0068, allocations: 0.6987 MB / 0.7039 GB, free: 3.445 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.006829, allocations: 132.5 kB / 0.704 GB, free: 3.285 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.006938, allocations: 227 kB / 0.7042 GB, free: 3.055 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.00695, allocations: 25.7 kB / 0.7042 GB, free: 3.023 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.006993, allocations: 140.5 kB / 0.7044 GB, free: 2.883 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.00702, allocations: 71.41 kB / 0.7044 GB, free: 2.812 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.007065, allocations: 49.7 kB / 0.7045 GB, free: 2.758 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.007098, allocations: 338.8 kB / 0.7048 GB, free: 2.418 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.007213, allocations: 145 kB / 0.705 GB, free: 2.258 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.007337, allocations: 221.8 kB / 0.7052 GB, free: 1.996 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.007532, allocations: 284.8 kB / 0.7054 GB, free: 1.676 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.007533, allocations: 0 / 0.7054 GB, free: 1.676 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002809/0.007814, allocations: 390.2 kB / 0.7058 GB, free: 1.266 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.007836, allocations: 59.41 kB / 0.7059 GB, free: 1.195 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007841, allocations: 4 kB / 0.7059 GB, free: 1.191 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.007852, allocations: 7.984 kB / 0.7059 GB, free: 1.184 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.007959, allocations: 55.84 kB / 0.7059 GB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007964, allocations: 4 kB / 0.7059 GB, free: 1.125 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.008048, allocations: 20.14 kB / 0.706 GB, free: 1.105 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.00806, allocations: 12 kB / 0.706 GB, free: 1.094 MB / 410.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.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 (31): * Single equations (assignments): 29 * 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.0001025/0.008162, allocations: 177.4 kB / 0.7061 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.008178, allocations: 23.84 kB / 0.7062 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.008204, allocations: 29.89 kB / 0.7062 GB, free: 0.8555 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008206, allocations: 4 kB / 0.7062 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.008209, allocations: 3.938 kB / 0.7062 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008213, allocations: 0 / 0.7062 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.008596, allocations: 0.5392 MB / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008598, allocations: 0 / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.008688, allocations: 39.91 kB / 0.7068 GB, free: 228 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.00869, allocations: 7.984 kB / 0.7068 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.0087, allocations: 4 kB / 0.7068 GB, free: 216 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.008701, allocations: 4 kB / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008702, allocations: 0 / 0.7068 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.009101, allocations: 0.489 MB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.009125, allocations: 23.89 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.009152, allocations: 8 kB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.009239, allocations: 19.98 kB / 0.7073 GB, free: 15.63 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.009305, allocations: 19.91 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.009318, allocations: 8 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.105e-05/0.009409, allocations: 160.4 kB / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009409, allocations: 0 / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001797/0.009589, allocations: 56 kB / 0.7075 GB, free: 15.39 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.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 (18): * Single equations (assignments): 15 * 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 8.815e-05/0.009677, allocations: 119.2 kB / 0.7077 GB, free: 15.27 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.01001, allocations: 386.2 kB / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01002, allocations: 0 / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01015, allocations: 171.5 kB / 0.7082 GB, free: 14.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.01042, allocations: 64.33 kB / 0.7082 GB, free: 14.61 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.0111, allocations: 0.5993 MB / 0.7088 GB, free: 13.97 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.01118, allocations: 125.6 kB / 0.7089 GB, free: 13.82 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.01123, allocations: 20.5 kB / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of SimCode: time 6.21e-07/0.01123, allocations: 0 / 0.709 GB, free: 13.8 MB / 426.8 MB Notification: Performance of Templates: time 0.003348/0.01458, allocations: 2.945 MB / 0.7118 GB, free: 10.89 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12C_OtherMineralSupplements.A12CC30_MagnesiumDifferentSaltsI.MagnesiumDifferentSaltsI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.435485813766718]