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.001489/0.001489, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001392/0.001392, allocations: 215.5 kB / 23 MB, free: 2.938 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.033/1.033, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.8614/0.8614, allocations: 312.3 MB / 0.6108 GB, free: 97.17 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: 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.001457/0.001457, allocations: 69.17 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1391, allocations: 74 MB / 0.8422 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C05A_AgentsForTreatmentOfHemorrhoidsAndAnalFissuresFo.C05AD05_Procaine.Procaine): time 0.002964/0.1421, allocations: 2.302 MB / 0.8444 GB, free: 7.488 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005424/0.1475, allocations: 6.536 MB / 0.8508 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1476, allocations: 0.8438 kB / 0.8508 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1478, allocations: 27.72 kB / 0.8508 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.148, allocations: 80.48 kB / 0.8509 GB, free: 0.8438 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1482, allocations: 48.62 kB / 0.8509 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1485, allocations: 258.7 kB / 0.8512 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1486, allocations: 33.08 kB / 0.8512 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1488, allocations: 100.3 kB / 0.8513 GB, free: 424 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.149, allocations: 100.1 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.149, allocations: 16 kB / 0.8514 GB, free: 308 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-05/0.149, allocations: 16.69 kB / 0.8514 GB, free: 292 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1491, allocations: 39.78 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.1491, allocations: 92.16 kB / 0.8516 GB, free: 160 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1494, allocations: 199.8 kB / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1494, allocations: 0 / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1494, allocations: 0.625 kB / 0.8518 GB, free: 15.96 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1494, allocations: 3.938 kB / 0.8518 GB, free: 15.96 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.0007645/0.1502, allocations: 0.4911 MB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1502, allocations: 8.031 kB / 0.8523 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.1503, allocations: 25.42 kB / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1505, allocations: 183.1 kB / 0.8525 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1505, allocations: 17.14 kB / 0.8525 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1505, allocations: 20.39 kB / 0.8525 GB, free: 15.15 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.1508, allocations: 194.8 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1508, allocations: 0.5938 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1508, allocations: 4 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1508, allocations: 4.625 kB / 0.8527 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.1511, allocations: 139.6 kB / 0.8528 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.1517, allocations: 486.1 kB / 0.8533 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.152, allocations: 175.6 kB / 0.8534 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1522, allocations: 95.75 kB / 0.8535 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.1522, allocations: 0 / 0.8535 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.1524, allocations: 233.7 kB / 0.8538 GB, free: 13.74 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.1524, allocations: 0 / 0.8538 GB, free: 13.74 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001013/0.1534, allocations: 0.7034 MB / 0.8544 GB, free: 12.98 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.1535, allocations: 137.1 kB / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1537, allocations: 214.9 kB / 0.8548 GB, free: 12.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1537, allocations: 34.39 kB / 0.8548 GB, free: 12.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.1538, allocations: 136.4 kB / 0.8549 GB, free: 12.42 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1538, allocations: 67.98 kB / 0.855 GB, free: 12.36 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.1539, allocations: 62.2 kB / 0.8551 GB, free: 12.29 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1539, allocations: 338.8 kB / 0.8554 GB, free: 11.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3063/0.4602, allocations: 141.6 kB / 0.8555 GB, free: 30.22 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.4604, allocations: 218.4 kB / 0.8557 GB, free: 30.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.4606, allocations: 278.9 kB / 0.856 GB, free: 29.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4607, allocations: 2.594 kB / 0.856 GB, free: 29.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004708/0.4611, allocations: 393.6 kB / 0.8564 GB, free: 29.74 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.4612, allocations: 67.47 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4612, allocations: 1.125 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.4612, allocations: 3.344 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4613, allocations: 50.06 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4614, allocations: 5.5 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4615, allocations: 20.19 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4615, allocations: 10.53 kB / 0.8565 GB, free: 29.68 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.0001749/0.4617, allocations: 179.8 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4617, allocations: 24.31 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.4617, allocations: 26.08 kB / 0.8567 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4617, allocations: 6.562 kB / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4617, allocations: 1.078 kB / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4618, allocations: 3.312 kB / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.4623, allocations: 0.5353 MB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4623, allocations: 3.656 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4624, allocations: 33.27 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4624, allocations: 0 / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4624, allocations: 7.969 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4624, allocations: 6.094 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4624, allocations: 2.156 kB / 0.8573 GB, free: 29.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.4629, allocations: 0.4899 MB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.4629, allocations: 20.42 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4629, allocations: 6.938 kB / 0.8578 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.463, allocations: 21.34 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.4631, allocations: 23.78 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4631, allocations: 11.66 kB / 0.8579 GB, free: 29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001003/0.4632, allocations: 159 kB / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4632, allocations: 0.5312 kB / 0.858 GB, free: 28.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002047/0.4634, allocations: 57.44 kB / 0.8581 GB, free: 28.93 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.0001008/0.4635, allocations: 112.9 kB / 0.8582 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.4639, allocations: 378.2 kB / 0.8586 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4639, allocations: 1.969 kB / 0.8586 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.464, allocations: 171.1 kB / 0.8587 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.4643, allocations: 75.02 kB / 0.8588 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.4654, allocations: 0.7016 MB / 0.8595 GB, free: 28.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.4655, allocations: 126.1 kB / 0.8596 GB, free: 28.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.4655, allocations: 24.95 kB / 0.8596 GB, free: 28.11 MB / 490.8 MB Notification: Performance of SimCode: time 7.61e-07/0.4655, allocations: 0 / 0.8596 GB, free: 28.11 MB / 490.8 MB Notification: Performance of Templates: time 0.004862/0.4704, allocations: 2.95 MB / 0.8625 GB, free: 27.89 MB / 490.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: 6.534655613824725]