Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.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.001252/0.001252, 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.001594/0.001594, 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.075/1.075, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8596/0.8596, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference") [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.005204/0.005204, allocations: 77.36 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.224, allocations: 73.98 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference): time 0.01004/0.2341, allocations: 2.301 MB / 0.8444 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.2517, allocations: 6.521 MB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.252, allocations: 12.59 kB / 0.8507 GB, free: 1.512 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.2522, allocations: 23.72 kB / 0.8508 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.2525, allocations: 84.53 kB / 0.8509 GB, free: 1.406 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2528, allocations: 52.44 kB / 0.8509 GB, free: 1.355 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.2531, allocations: 255.4 kB / 0.8511 GB, free: 1.105 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2533, allocations: 40.56 kB / 0.8512 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2534, allocations: 96.36 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2537, allocations: 100.2 kB / 0.8514 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2537, allocations: 16 kB / 0.8514 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.482e-05/0.2538, allocations: 20.59 kB / 0.8514 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.2538, allocations: 39.84 kB / 0.8514 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2539, allocations: 80.23 kB / 0.8515 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.2542, allocations: 203.9 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2542, allocations: 0 / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2542, allocations: 0.5938 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.2542, allocations: 0 / 0.8517 GB, free: 0.5234 MB / 474.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.002223/0.2564, allocations: 498.8 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.2565, allocations: 11.97 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.2566, allocations: 25.42 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.2568, allocations: 183.8 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2569, allocations: 8.609 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.2569, allocations: 24.52 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.2573, allocations: 186.9 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2573, allocations: 0.5 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.2573, allocations: 8 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2573, allocations: 4.719 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2575, allocations: 147.5 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.2583, allocations: 490 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.2588, allocations: 177.9 kB / 0.8534 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.2589, allocations: 95.08 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2589, allocations: 7.938 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.2592, allocations: 228 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.926e-06/0.2592, allocations: 0.7812 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001215/0.2605, allocations: 0.7019 MB / 0.8544 GB, free: 13.54 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.2605, allocations: 141.1 kB / 0.8545 GB, free: 13.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2607, allocations: 215.5 kB / 0.8547 GB, free: 13.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2607, allocations: 33.7 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.2608, allocations: 129.1 kB / 0.8549 GB, free: 12.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.2609, allocations: 75.41 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.261, allocations: 58.28 kB / 0.855 GB, free: 12.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004244/0.2614, allocations: 335.5 kB / 0.8553 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2616, allocations: 145.6 kB / 0.8555 GB, free: 12.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.2617, allocations: 222.4 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4008/0.6625, allocations: 278.5 kB / 0.856 GB, free: 30.38 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.6625, allocations: 0.5312 kB / 0.856 GB, free: 30.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007063/0.6632, allocations: 393.8 kB / 0.8563 GB, free: 30.22 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.6633, allocations: 69.11 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6633, allocations: 0 / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.6633, allocations: 4.188 kB / 0.8564 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.6635, allocations: 50.3 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.6636, allocations: 6.891 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.6637, allocations: 18.62 kB / 0.8565 GB, free: 30.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.6637, allocations: 14.23 kB / 0.8565 GB, free: 30.16 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.0002796/0.664, allocations: 172.4 kB / 0.8567 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.6641, allocations: 29.62 kB / 0.8567 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.6641, allocations: 22.81 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.6641, allocations: 2.75 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.6641, allocations: 1.969 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6641, allocations: 0.9375 kB / 0.8567 GB, free: 30.01 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.6649, allocations: 0.5413 MB / 0.8572 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6649, allocations: 0 / 0.8572 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.6651, allocations: 30.77 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.6651, allocations: 0 / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.6651, allocations: 8.328 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6651, allocations: 11.72 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6651, allocations: 1.125 kB / 0.8573 GB, free: 29.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.6657, allocations: 499 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.6657, allocations: 21.98 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.6657, allocations: 8.188 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6658, allocations: 18.06 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.666, allocations: 20.16 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.666, allocations: 7.938 kB / 0.8578 GB, free: 29.48 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001155/0.6661, allocations: 157.2 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6661, allocations: 2.953 kB / 0.858 GB, free: 29.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002379/0.6663, allocations: 54.5 kB / 0.858 GB, free: 29.41 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.0001546/0.6665, allocations: 125.1 kB / 0.8582 GB, free: 29.31 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.6669, allocations: 377.6 kB / 0.8585 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6669, allocations: 0 / 0.8585 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.6671, allocations: 175.5 kB / 0.8587 GB, free: 28.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.6675, allocations: 70.2 kB / 0.8588 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6689, allocations: 0.6951 MB / 0.8594 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.669, allocations: 128.9 kB / 0.8596 GB, free: 28.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.669, allocations: 21.75 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of SimCode: time 1.954e-06/0.669, allocations: 0.625 kB / 0.8596 GB, free: 28.59 MB / 490.8 MB Notification: Performance of Templates: time 0.007577/0.6766, allocations: 2.95 MB / 0.8625 GB, free: 28.37 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD09_Cefodizime.Cefodizime_SchferKorting1986_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.158961405046284]