Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.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.00187/0.00187, allocations: 84.5 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.001965/0.001965, allocations: 173.2 kB / 23.21 MB, free: 1.324 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.9625/0.9625, 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.6726/0.6726, 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.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6973 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.499e-05, allocations: 5.234 kB / 0.6973 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine): time 0.002012/0.002037, allocations: 2.307 MB / 0.6996 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.005742, allocations: 6.537 MB / 0.706 GB, free: 1.477 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.005863, allocations: 4 kB / 0.706 GB, free: 1.473 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.005978, allocations: 27.72 kB / 0.706 GB, free: 1.445 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.00615, allocations: 83.27 kB / 0.7061 GB, free: 1.363 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.006344, allocations: 55.86 kB / 0.7061 GB, free: 1.309 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.006525, allocations: 266.6 kB / 0.7064 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.006647, allocations: 36.5 kB / 0.7064 GB, free: 1.016 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.006759, allocations: 139.6 kB / 0.7066 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.00691, allocations: 87.77 kB / 0.7067 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.006935, allocations: 16 kB / 0.7067 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.006954, allocations: 19.94 kB / 0.7067 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.006981, allocations: 43.78 kB / 0.7067 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.007036, allocations: 71.83 kB / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.007196, allocations: 203.4 kB / 0.707 GB, free: 456 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007198, allocations: 0 / 0.707 GB, free: 456 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007199, allocations: 0 / 0.707 GB, free: 456 kB / 410.8 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.007204, allocations: 0 / 0.707 GB, free: 456 kB / 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.0005598/0.007764, allocations: 492.8 kB / 0.7075 GB, free: 15.92 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007798, allocations: 8.031 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.007855, allocations: 28.78 kB / 0.7075 GB, free: 15.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.008037, allocations: 182.3 kB / 0.7077 GB, free: 15.68 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.008054, allocations: 12.61 kB / 0.7077 GB, free: 15.66 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.008085, allocations: 20.31 kB / 0.7077 GB, free: 15.64 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.008327, allocations: 194.5 kB / 0.7079 GB, free: 15.44 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.00834, allocations: 0 / 0.7079 GB, free: 15.44 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.008354, allocations: 4 kB / 0.7079 GB, free: 15.44 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.00836, allocations: 8 kB / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.008559, allocations: 146.2 kB / 0.708 GB, free: 15.28 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.009107, allocations: 489.4 kB / 0.7085 GB, free: 14.77 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.009411, allocations: 164.2 kB / 0.7087 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.009514, allocations: 102.5 kB / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.009523, allocations: 0 / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.009747, allocations: 232.4 kB / 0.709 GB, free: 14.23 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.009749, allocations: 0 / 0.709 GB, free: 14.23 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001151/0.0109, allocations: 0.7025 MB / 0.7097 GB, free: 13.46 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.01095, allocations: 144.5 kB / 0.7098 GB, free: 13.29 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01109, allocations: 211.1 kB / 0.71 GB, free: 13.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.01111, allocations: 37.64 kB / 0.71 GB, free: 13.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.01117, allocations: 140.4 kB / 0.7102 GB, free: 12.89 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.01121, allocations: 67.44 kB / 0.7102 GB, free: 12.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01126, allocations: 45.7 kB / 0.7103 GB, free: 12.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.01133, allocations: 342.8 kB / 0.7106 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01146, allocations: 141 kB / 0.7107 GB, free: 12.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01161, allocations: 221.3 kB / 0.711 GB, free: 12.01 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.01186, allocations: 286.2 kB / 0.7112 GB, free: 11.69 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01186, allocations: 4.031 kB / 0.7112 GB, free: 11.69 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003468/0.01221, allocations: 388 kB / 0.7116 GB, free: 11.28 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.01224, allocations: 67.39 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01225, allocations: 4 kB / 0.7117 GB, free: 11.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01226, allocations: 4 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01238, allocations: 52.06 kB / 0.7117 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01238, allocations: 8 kB / 0.7117 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.8e-05/0.01247, allocations: 23.97 kB / 0.7118 GB, free: 11.11 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.01249, allocations: 15.98 kB / 0.7118 GB, free: 11.09 MB / 426.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.0001402/0.01263, allocations: 169.3 kB / 0.7119 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.01265, allocations: 23.84 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.01268, allocations: 25.97 kB / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01268, allocations: 0 / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01269, allocations: 7.938 kB / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01269, allocations: 3.984 kB / 0.712 GB, free: 10.85 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.01317, allocations: 0.5395 MB / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01318, allocations: 0 / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.01327, allocations: 27.98 kB / 0.7125 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01327, allocations: 0 / 0.7125 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01329, allocations: 11.98 kB / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01329, allocations: 0 / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01329, allocations: 4 kB / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.01372, allocations: 0.4945 MB / 0.713 GB, free: 9.695 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01375, allocations: 15.86 kB / 0.7131 GB, free: 9.68 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.01377, allocations: 8 kB / 0.7131 GB, free: 9.672 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.01385, allocations: 16.03 kB / 0.7131 GB, free: 9.656 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.01392, allocations: 23.95 kB / 0.7131 GB, free: 9.633 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01393, allocations: 4 kB / 0.7131 GB, free: 9.629 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.01401, allocations: 160.4 kB / 0.7133 GB, free: 9.473 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01401, allocations: 7.938 kB / 0.7133 GB, free: 9.465 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001833/0.0142, allocations: 56 kB / 0.7133 GB, free: 9.41 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 9.774e-05/0.0143, allocations: 121.1 kB / 0.7134 GB, free: 9.285 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.01463, allocations: 379.6 kB / 0.7138 GB, free: 8.871 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01463, allocations: 0 / 0.7138 GB, free: 8.871 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01477, allocations: 177.4 kB / 0.714 GB, free: 8.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01505, allocations: 66.64 kB / 0.714 GB, free: 8.617 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.01578, allocations: 0.5993 MB / 0.7146 GB, free: 7.98 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.01585, allocations: 125.6 kB / 0.7147 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.01591, allocations: 24.48 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of SimCode: time 6.01e-07/0.01591, allocations: 0 / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of Templates: time 0.003362/0.01927, allocations: 2.943 MB / 0.7176 GB, free: 4.902 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.595708146691322]