Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.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.002063/0.002063, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002295/0.002295, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.591/1.591, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.314/1.314, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.104e-05, allocations: 7.625 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin): time 0.004403/0.004434, allocations: 2.707 MB / 0.7026 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0081/0.01253, allocations: 6.608 MB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.01277, allocations: 4 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.01299, allocations: 39.58 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.01348, allocations: 134.8 kB / 0.7092 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.01385, allocations: 75.83 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.01455, allocations: 393.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.01479, allocations: 56.88 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.01521, allocations: 195.6 kB / 0.7099 GB, free: 14.33 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.01559, allocations: 127.5 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.475e-05/0.01567, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.01574, allocations: 28 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.01585, allocations: 55.7 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.01609, allocations: 115.8 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.01667, allocations: 298.1 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01668, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01668, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.01669, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001698/0.01838, allocations: 0.6002 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.01844, allocations: 12.03 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.01856, allocations: 32.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.01906, allocations: 208.8 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.01909, allocations: 12.75 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.01917, allocations: 24.38 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.01998, allocations: 292.5 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.02001, allocations: 3.953 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.02005, allocations: 11.98 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.02006, allocations: 4 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.02086, allocations: 236.4 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.0228, allocations: 0.6794 MB / 0.7125 GB, free: 11.45 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009086/0.02371, allocations: 246.7 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.02414, allocations: 148.5 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.02416, allocations: 0 / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/0.02494, allocations: 364.2 kB / 0.7133 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.02494, allocations: 4 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003227/0.02817, allocations: 1.074 MB / 0.7143 GB, free: 9.449 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/0.02839, allocations: 217.6 kB / 0.7145 GB, free: 9.188 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.02885, allocations: 249.8 kB / 0.7148 GB, free: 8.938 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.0289, allocations: 37.7 kB / 0.7148 GB, free: 8.895 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.02909, allocations: 152.9 kB / 0.7149 GB, free: 8.738 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.02925, allocations: 115 kB / 0.7151 GB, free: 8.625 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.02944, allocations: 70.2 kB / 0.7151 GB, free: 8.547 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.02972, allocations: 350.7 kB / 0.7155 GB, free: 8.195 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.03026, allocations: 207.9 kB / 0.7157 GB, free: 7.973 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.03092, allocations: 319.1 kB / 0.716 GB, free: 7.602 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.03196, allocations: 431.1 kB / 0.7164 GB, free: 7.113 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.03197, allocations: 4 kB / 0.7164 GB, free: 7.109 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001427/0.03339, allocations: 0.5497 MB / 0.7169 GB, free: 6.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.03351, allocations: 89.09 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.03352, allocations: 4 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.03355, allocations: 4 kB / 0.717 GB, free: 6.402 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.03404, allocations: 83.77 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.03406, allocations: 8 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.03443, allocations: 28.28 kB / 0.7171 GB, free: 6.285 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.03448, allocations: 16 kB / 0.7171 GB, free: 6.27 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0003946/0.03487, allocations: 231.8 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.03496, allocations: 31.81 kB / 0.7174 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.342e-05/0.03505, allocations: 26.97 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.03506, allocations: 4 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.03507, allocations: 3.984 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.03508, allocations: 0 / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.03696, allocations: 0.7717 MB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03696, allocations: 0 / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.03742, allocations: 51.95 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.03742, allocations: 0 / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.03746, allocations: 8 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.03747, allocations: 8 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.03747, allocations: 3.938 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.03927, allocations: 0.7269 MB / 0.7189 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.03934, allocations: 23.81 kB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.03944, allocations: 16.06 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.03976, allocations: 11.98 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.0399, allocations: 35.88 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.03994, allocations: 12 kB / 0.719 GB, free: 4.168 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003156/0.04025, allocations: 177.2 kB / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04025, allocations: 0 / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006198/0.04087, allocations: 88 kB / 0.7193 GB, free: 3.91 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002341/0.04111, allocations: 130.9 kB / 0.7194 GB, free: 3.777 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2137/0.2548, allocations: 0.552 MB / 0.72 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2548, allocations: 3.156 kB / 0.72 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.2553, allocations: 306.3 kB / 0.7203 GB, free: 36.93 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.2561, allocations: 84.03 kB / 0.7203 GB, free: 36.93 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.2578, allocations: 0.7954 MB / 0.7211 GB, free: 36.52 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2579, allocations: 159.1 kB / 0.7213 GB, free: 36.44 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.2581, allocations: 35.27 kB / 0.7213 GB, free: 36.43 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.2582, allocations: 28.08 kB / 0.7213 GB, free: 36.42 MB / 426.8 MB Notification: Performance of SimCode: time 8.21e-07/0.2582, allocations: 0 / 0.7213 GB, free: 36.42 MB / 426.8 MB Notification: Performance of Templates: time 0.01254/0.2707, allocations: 4.547 MB / 0.7258 GB, free: 36.01 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.180471521103755]