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.002536/0.002536, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003226/0.003226, allocations: 214.5 kB / 22.25 MB, free: 3.566 MB / 13.93 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 1.705/1.705, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 178] 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 1.453/1.453, allocations: 316.7 MB / 0.6144 GB, free: 93.33 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01156/0.01156, allocations: 77.25 kB / 0.775 GB, free: 14.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2674, allocations: 73.99 MB / 0.8472 GB, free: 5.023 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine): time 0.004044/0.2715, allocations: 2.303 MB / 0.8495 GB, free: 2.723 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3041/0.5755, allocations: 6.523 MB / 0.8559 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.5758, allocations: 2.906 kB / 0.8559 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.576, allocations: 25.31 kB / 0.8559 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.5763, allocations: 85.55 kB / 0.856 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.5765, allocations: 53.23 kB / 0.856 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.5768, allocations: 259 kB / 0.8563 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.577, allocations: 34.38 kB / 0.8563 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.5772, allocations: 99.3 kB / 0.8564 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.5774, allocations: 93.97 kB / 0.8565 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.5774, allocations: 19.28 kB / 0.8565 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.5775, allocations: 17.19 kB / 0.8565 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.5775, allocations: 38.34 kB / 0.8565 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.5777, allocations: 96.12 kB / 0.8566 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.5779, allocations: 198.3 kB / 0.8568 GB, free: 21.7 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5779, allocations: 1.688 kB / 0.8568 GB, free: 21.7 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5779, allocations: 0 / 0.8568 GB, free: 21.7 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.578, allocations: 0 / 0.8568 GB, free: 21.7 MB / 490.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.0009847/0.5789, allocations: 0.4904 MB / 0.8573 GB, free: 21.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.579, allocations: 7.438 kB / 0.8573 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.5791, allocations: 24.42 kB / 0.8573 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5793, allocations: 184.5 kB / 0.8575 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.5794, allocations: 13.86 kB / 0.8575 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.5794, allocations: 26.86 kB / 0.8576 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.5798, allocations: 186.9 kB / 0.8577 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5799, allocations: 0 / 0.8577 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.5799, allocations: 8.578 kB / 0.8577 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5799, allocations: 1.938 kB / 0.8577 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.5803, allocations: 148.3 kB / 0.8579 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.5812, allocations: 484.5 kB / 0.8583 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.5818, allocations: 178 kB / 0.8585 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.5821, allocations: 93.77 kB / 0.8586 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.5821, allocations: 0.625 kB / 0.8586 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.5825, allocations: 228.2 kB / 0.8588 GB, free: 20.48 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.5825, allocations: 0.625 kB / 0.8588 GB, free: 20.48 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001725/0.5842, allocations: 0.7068 MB / 0.8595 GB, free: 20.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5842, allocations: 137 kB / 0.8596 GB, free: 19.96 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5845, allocations: 209.7 kB / 0.8598 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.5845, allocations: 36.05 kB / 0.8599 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.5846, allocations: 137.8 kB / 0.86 GB, free: 19.73 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.5846, allocations: 73.5 kB / 0.8601 GB, free: 19.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.5847, allocations: 52.09 kB / 0.8601 GB, free: 19.67 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.5848, allocations: 340 kB / 0.8605 GB, free: 19.35 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.5851, allocations: 140.2 kB / 0.8606 GB, free: 19.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.5854, allocations: 227.3 kB / 0.8608 GB, free: 19.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5859, allocations: 282.3 kB / 0.8611 GB, free: 18.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5859, allocations: 0 / 0.8611 GB, free: 18.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007215/0.5866, allocations: 387 kB / 0.8614 GB, free: 18.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5867, allocations: 61.33 kB / 0.8615 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5867, allocations: 7.344 kB / 0.8615 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5867, allocations: 5.141 kB / 0.8615 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.587, allocations: 51.73 kB / 0.8616 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.587, allocations: 6.234 kB / 0.8616 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5872, allocations: 19.56 kB / 0.8616 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5873, allocations: 10.62 kB / 0.8616 GB, free: 18.7 MB / 490.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.0001729/0.5874, allocations: 181.9 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.5875, allocations: 22.45 kB / 0.8618 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.5875, allocations: 28.25 kB / 0.8618 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5875, allocations: 3.188 kB / 0.8618 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5876, allocations: 0.6875 kB / 0.8618 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5876, allocations: 0 / 0.8618 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.5884, allocations: 0.5431 MB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5884, allocations: 0 / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.5887, allocations: 43.42 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5887, allocations: 1.781 kB / 0.8624 GB, free: 18.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5887, allocations: 14.23 kB / 0.8624 GB, free: 18.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5887, allocations: 8.062 kB / 0.8624 GB, free: 18.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5887, allocations: 0 / 0.8624 GB, free: 18.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.5896, allocations: 498.2 kB / 0.8629 GB, free: 17.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.5896, allocations: 26.23 kB / 0.8629 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.5897, allocations: 7.5 kB / 0.8629 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5899, allocations: 15.59 kB / 0.8629 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.59, allocations: 18.44 kB / 0.863 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.5901, allocations: 9.25 kB / 0.863 GB, free: 17.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001525/0.5902, allocations: 156.7 kB / 0.8631 GB, free: 17.87 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5902, allocations: 1.25 kB / 0.8631 GB, free: 17.87 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005055/0.5907, allocations: 56.88 kB / 0.8632 GB, free: 17.87 MB / 490.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 0.000114/0.5908, allocations: 119.2 kB / 0.8633 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.5915, allocations: 377.5 kB / 0.8636 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5915, allocations: 4.625 kB / 0.8636 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.5918, allocations: 169.4 kB / 0.8638 GB, free: 17.45 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.5925, allocations: 67.03 kB / 0.8639 GB, free: 17.44 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.5939, allocations: 0.6816 MB / 0.8645 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5941, allocations: 131.4 kB / 0.8647 GB, free: 17.04 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.5942, allocations: 20.11 kB / 0.8647 GB, free: 17.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.5943, allocations: 27.98 kB / 0.8647 GB, free: 17.03 MB / 490.8 MB Notification: Performance of SimCode: time 3.7e-07/0.5943, allocations: 1.406 kB / 0.8647 GB, free: 17.03 MB / 490.8 MB Notification: Performance of Templates: time 0.01038/0.6047, allocations: 3.634 MB / 0.8683 GB, free: 16.71 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.81633404106833]