Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.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.005383/0.005383, allocations: 109.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.005626/0.005626, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.731/1.731, allocations: 230.6 MB / 256 MB, free: 9.602 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.437/1.437, allocations: 316.8 MB / 0.6144 GB, free: 93.51 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.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin") [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.004961/0.004961, allocations: 77.14 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1716, allocations: 73.99 MB / 0.8473 GB, free: 5.137 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin): time 0.004235/0.1759, allocations: 2.309 MB / 0.8495 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.398/0.5739, allocations: 6.519 MB / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.5741, allocations: 0 / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.5743, allocations: 24.23 kB / 0.8559 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.5746, allocations: 85.52 kB / 0.856 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.5748, allocations: 56.25 kB / 0.8561 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.5752, allocations: 257.2 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.5753, allocations: 38.52 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.5755, allocations: 93.56 kB / 0.8564 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.5758, allocations: 102.4 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.5758, allocations: 18.22 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.5759, allocations: 18.56 kB / 0.8566 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.5759, allocations: 37.48 kB / 0.8566 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5761, allocations: 91.33 kB / 0.8567 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.5763, allocations: 193 kB / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5764, allocations: 6.094 kB / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5764, allocations: 0 / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5764, allocations: 3.938 kB / 0.8569 GB, free: 21.52 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.00102/0.5774, allocations: 497 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5774, allocations: 10.75 kB / 0.8574 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.5775, allocations: 22.86 kB / 0.8574 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.5778, allocations: 190.2 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.5778, allocations: 9.828 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.5779, allocations: 23.38 kB / 0.8576 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.5783, allocations: 186.5 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5783, allocations: 0.5156 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.5784, allocations: 4.688 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5784, allocations: 5.453 kB / 0.8578 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.5788, allocations: 152.9 kB / 0.8579 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.5798, allocations: 481.3 kB / 0.8584 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/0.5804, allocations: 171.9 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5806, allocations: 96.67 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.5806, allocations: 2.172 kB / 0.8586 GB, free: 20.44 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.5811, allocations: 227.7 kB / 0.8589 GB, free: 20.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.5811, allocations: 0.5312 kB / 0.8589 GB, free: 20.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001799/0.5829, allocations: 0.7023 MB / 0.8595 GB, free: 19.93 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.5829, allocations: 140.2 kB / 0.8597 GB, free: 19.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.5832, allocations: 214.1 kB / 0.8599 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5832, allocations: 35.05 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.5833, allocations: 128.2 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.5833, allocations: 73.72 kB / 0.8601 GB, free: 19.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.5834, allocations: 60.38 kB / 0.8602 GB, free: 19.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.5835, allocations: 335 kB / 0.8605 GB, free: 19.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.5838, allocations: 145.3 kB / 0.8606 GB, free: 19.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.5841, allocations: 228.1 kB / 0.8608 GB, free: 18.92 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.5845, allocations: 281.6 kB / 0.8611 GB, free: 18.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5846, allocations: 2.188 kB / 0.8611 GB, free: 18.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007149/0.5853, allocations: 385.2 kB / 0.8615 GB, free: 18.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.5853, allocations: 61 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5853, allocations: 9.156 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.5853, allocations: 6.859 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.5856, allocations: 51.05 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5856, allocations: 3.281 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.5859, allocations: 18.75 kB / 0.8616 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.5859, allocations: 16.33 kB / 0.8616 GB, free: 18.51 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.0001813/0.5861, allocations: 173.5 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.5861, allocations: 22.41 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.5862, allocations: 31.94 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5862, allocations: 4.672 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5862, allocations: 1.938 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5862, allocations: 1.453 kB / 0.8619 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.5871, allocations: 0.5368 MB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5871, allocations: 3.938 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.5874, allocations: 43.81 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5874, allocations: 1.969 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.5874, allocations: 6.797 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5874, allocations: 3.938 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5874, allocations: 0 / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.5883, allocations: 0.4922 MB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.5883, allocations: 17.14 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.5884, allocations: 9.516 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5886, allocations: 20.14 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.5887, allocations: 19.19 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5888, allocations: 7.875 kB / 0.863 GB, free: 17.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001581/0.5889, allocations: 159.4 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5889, allocations: 0 / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004826/0.5894, allocations: 62.19 kB / 0.8632 GB, free: 17.68 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.0001261/0.5895, allocations: 114.8 kB / 0.8633 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007065/0.5902, allocations: 388.8 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5902, allocations: 0.6875 kB / 0.8637 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.5905, allocations: 171.4 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.5912, allocations: 68.28 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.5927, allocations: 0.6785 MB / 0.8646 GB, free: 16.94 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.5929, allocations: 122.9 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.593, allocations: 29.33 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.5931, allocations: 21.34 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.5931, allocations: 0 / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of Templates: time 0.01092/0.604, allocations: 3.638 MB / 0.8683 GB, free: 16.52 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.665527109056711]