Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.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.001934/0.001934, allocations: 105.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.002058/0.002058, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.751/1.751, allocations: 230.6 MB / 256 MB, free: 9.605 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.55/1.55, allocations: 316.7 MB / 0.6144 GB, free: 93.09 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.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant") [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.005183/0.005183, allocations: 69.89 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1654, allocations: 73.99 MB / 0.8472 GB, free: 4.891 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant): time 0.004276/0.1697, allocations: 2.303 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3666/0.5363, allocations: 6.523 MB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.5365, allocations: 5.375 kB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.5367, allocations: 25.86 kB / 0.8559 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5369, allocations: 82.78 kB / 0.856 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.5372, allocations: 53.73 kB / 0.856 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.5374, allocations: 254.4 kB / 0.8563 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.5376, allocations: 37.7 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.5377, allocations: 99.19 kB / 0.8564 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.5379, allocations: 98.03 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.5379, allocations: 18.22 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.538, allocations: 17.47 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.538, allocations: 39.91 kB / 0.8566 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.5381, allocations: 91.72 kB / 0.8566 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.5384, allocations: 206.8 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5384, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5384, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.5384, allocations: 1.094 kB / 0.8568 GB, free: 21.74 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.000831/0.5392, allocations: 496.8 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5393, allocations: 10.19 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.5393, allocations: 26.92 kB / 0.8574 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.5395, allocations: 185.1 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5396, allocations: 8.984 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.5396, allocations: 22.42 kB / 0.8576 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.54, allocations: 187.9 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.54, allocations: 2.562 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.54, allocations: 5.219 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.54, allocations: 4.438 kB / 0.8578 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.5404, allocations: 149.5 kB / 0.8579 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.5411, allocations: 482.8 kB / 0.8584 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.5416, allocations: 172.5 kB / 0.8585 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5417, allocations: 94.41 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5418, allocations: 4.531 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.5421, allocations: 224.4 kB / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5421, allocations: 0.5 kB / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001473/0.5436, allocations: 0.7007 MB / 0.8595 GB, free: 20.16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.5436, allocations: 138.4 kB / 0.8596 GB, free: 20 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.5438, allocations: 220.3 kB / 0.8599 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5439, allocations: 33.33 kB / 0.8599 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.5439, allocations: 136.6 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.544, allocations: 71.22 kB / 0.8601 GB, free: 19.72 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.5441, allocations: 57.17 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.5442, allocations: 334.5 kB / 0.8605 GB, free: 19.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.5444, allocations: 145.2 kB / 0.8606 GB, free: 19.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5447, allocations: 221.2 kB / 0.8608 GB, free: 19.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.545, allocations: 287.7 kB / 0.8611 GB, free: 18.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.545, allocations: 3.438 kB / 0.8611 GB, free: 18.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005476/0.5456, allocations: 381.2 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.5456, allocations: 68.27 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5457, allocations: 3.938 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5457, allocations: 4.969 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.5459, allocations: 54.11 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5459, allocations: 3.094 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5461, allocations: 21.39 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.5461, allocations: 11.25 kB / 0.8616 GB, free: 18.73 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.0001726/0.5463, allocations: 181.9 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.5463, allocations: 20.64 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.5464, allocations: 25.16 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5464, allocations: 9.234 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5464, allocations: 4.5 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5464, allocations: 0.5625 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.5471, allocations: 0.5364 MB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5471, allocations: 2.297 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.5473, allocations: 36.7 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.5473, allocations: 0.5625 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5473, allocations: 12.86 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5473, allocations: 4.719 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5473, allocations: 0 / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.548, allocations: 0.4898 MB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.548, allocations: 20.83 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.5481, allocations: 9.219 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.5482, allocations: 16.61 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.5483, allocations: 19.38 kB / 0.863 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.5483, allocations: 11.66 kB / 0.863 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001388/0.5485, allocations: 162.3 kB / 0.8631 GB, free: 17.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5485, allocations: 0 / 0.8631 GB, free: 17.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003106/0.5488, allocations: 54.53 kB / 0.8632 GB, free: 17.9 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.000125/0.5489, allocations: 109.4 kB / 0.8633 GB, free: 17.81 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.5495, allocations: 383.5 kB / 0.8636 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5495, allocations: 0.5312 kB / 0.8636 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.5498, allocations: 172.7 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.5504, allocations: 84.61 kB / 0.8639 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5517, allocations: 0.6787 MB / 0.8646 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.5519, allocations: 127.1 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.552, allocations: 23.69 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5521, allocations: 24.02 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.5521, allocations: 0 / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of Templates: time 0.008996/0.561, allocations: 3.637 MB / 0.8683 GB, free: 16.75 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AD12_Aprepitant.Aprepitant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.899034032132477]