Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.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.0009705/0.0009705, 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.0009078/0.0009078, 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.927/0.927, 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.6836/0.6836, 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.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=111600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=111600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.427e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide): time 0.002868/0.002892, allocations: 3.039 MB / 0.7003 GB, free: 7.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.007104, allocations: 6.639 MB / 0.7068 GB, free: 0.6016 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.007277, allocations: 4 kB / 0.7068 GB, free: 0.5977 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.007406, allocations: 43.56 kB / 0.7069 GB, free: 0.5547 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.007635, allocations: 130.9 kB / 0.707 GB, free: 436 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.00787, allocations: 79.86 kB / 0.7071 GB, free: 356 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.008139, allocations: 433.8 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.008288, allocations: 65.36 kB / 0.7076 GB, free: 15.86 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.008491, allocations: 231.4 kB / 0.7078 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.008699, allocations: 123.6 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.008734, allocations: 32 kB / 0.7079 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.00877, allocations: 32 kB / 0.7079 GB, free: 15.45 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.008813, allocations: 67.69 kB / 0.708 GB, free: 15.39 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.008908, allocations: 123.7 kB / 0.7081 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.009205, allocations: 363 kB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009209, allocations: 0 / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00921, allocations: 0 / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.009216, allocations: 4 kB / 0.7085 GB, free: 14.91 MB / 426.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.0007574/0.009973, allocations: 0.5998 MB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.01001, allocations: 12.03 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.01007, allocations: 40.7 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.01032, allocations: 220.7 kB / 0.7093 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.01034, allocations: 16.88 kB / 0.7093 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.01038, allocations: 32.31 kB / 0.7094 GB, free: 13.92 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01075, allocations: 310.2 kB / 0.7097 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01076, allocations: 3.984 kB / 0.7097 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01078, allocations: 12 kB / 0.7097 GB, free: 13.57 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.01079, allocations: 4 kB / 0.7097 GB, free: 13.57 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.01108, allocations: 240.5 kB / 0.7099 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.01183, allocations: 0.6543 MB / 0.7106 GB, free: 12.63 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.01225, allocations: 270 kB / 0.7108 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.01243, allocations: 156.4 kB / 0.711 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.01244, allocations: 7.938 kB / 0.711 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.01276, allocations: 371.4 kB / 0.7113 GB, free: 11.76 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.01276, allocations: 0 / 0.7113 GB, free: 11.76 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001313/0.01407, allocations: 1.139 MB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.01416, allocations: 225.6 kB / 0.7127 GB, free: 10.25 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01434, allocations: 253.8 kB / 0.7129 GB, free: 10 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01436, allocations: 37.7 kB / 0.7129 GB, free: 9.957 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.01444, allocations: 156.9 kB / 0.7131 GB, free: 9.797 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.0145, allocations: 119 kB / 0.7132 GB, free: 9.68 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.01458, allocations: 70.2 kB / 0.7133 GB, free: 9.605 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.01467, allocations: 346.7 kB / 0.7136 GB, free: 9.258 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.01487, allocations: 223.8 kB / 0.7138 GB, free: 9.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.01509, allocations: 322.9 kB / 0.7141 GB, free: 8.637 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.01547, allocations: 458.1 kB / 0.7146 GB, free: 8.121 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01547, allocations: 4 kB / 0.7146 GB, free: 8.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005094/0.01598, allocations: 0.5768 MB / 0.7151 GB, free: 7.496 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.01603, allocations: 93.09 kB / 0.7152 GB, free: 7.387 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01603, allocations: 4 kB / 0.7152 GB, free: 7.383 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01605, allocations: 4 kB / 0.7152 GB, free: 7.379 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01622, allocations: 80.23 kB / 0.7153 GB, free: 7.301 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.01623, allocations: 11.98 kB / 0.7153 GB, free: 7.289 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.01635, allocations: 19.98 kB / 0.7153 GB, free: 7.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.01637, allocations: 20 kB / 0.7153 GB, free: 7.25 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.0001987/0.01656, allocations: 240.6 kB / 0.7156 GB, free: 7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.01659, allocations: 31.81 kB / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.01663, allocations: 38.95 kB / 0.7156 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01663, allocations: 4 kB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01664, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01664, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.01736, allocations: 0.821 MB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01737, allocations: 7.922 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.01752, allocations: 59.91 kB / 0.7165 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01752, allocations: 0 / 0.7165 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.01754, allocations: 19.98 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01754, allocations: 4 kB / 0.7165 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01755, allocations: 0 / 0.7165 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.0182, allocations: 0.7601 MB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.01828, allocations: 55.77 kB / 0.7173 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.01832, allocations: 16 kB / 0.7173 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.01842, allocations: 15.98 kB / 0.7174 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.01849, allocations: 27.95 kB / 0.7174 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.01851, allocations: 23.92 kB / 0.7174 GB, free: 5.008 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001282/0.01864, allocations: 185.2 kB / 0.7176 GB, free: 4.828 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01864, allocations: 4 kB / 0.7176 GB, free: 4.824 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002377/0.01887, allocations: 84 kB / 0.7177 GB, free: 4.742 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 0.0001293/0.019, allocations: 129.3 kB / 0.7178 GB, free: 4.609 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.01952, allocations: 0.5884 MB / 0.7184 GB, free: 3.953 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01953, allocations: 0 / 0.7184 GB, free: 3.953 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.01977, allocations: 314.1 kB / 0.7187 GB, free: 3.609 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.02012, allocations: 88.36 kB / 0.7187 GB, free: 3.523 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.02124, allocations: 0.8907 MB / 0.7196 GB, free: 2.59 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.02134, allocations: 168.2 kB / 0.7198 GB, free: 2.402 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.02141, allocations: 32.5 kB / 0.7198 GB, free: 2.371 MB / 426.8 MB Notification: Performance of SimCode: time 6.81e-07/0.02141, allocations: 0 / 0.7198 GB, free: 2.371 MB / 426.8 MB Notification: Performance of Templates: time 0.1792/0.2006, allocations: 4.369 MB / 0.7241 GB, free: 36.26 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L04A_Immunosuppressants.L04AX02_Thalidomide.Thalidomide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5618669502437115]