Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.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.001359/0.001359, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001238/0.001238, allocations: 166.3 kB / 23.21 MB, free: 1.332 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 0.8914/0.8914, allocations: 177.1 MB / 203.5 MB, free: 5.387 MB / 186.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.676/0.676, allocations: 291.2 MB / 0.5382 GB, free: 51.55 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.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.903e-05, allocations: 4.812 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron): time 0.002103/0.002122, allocations: 2.713 MB / 0.7001 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.005791, allocations: 6.6 MB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.005889, allocations: 8 kB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.005996, allocations: 35.58 kB / 0.7065 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.006176, allocations: 127 kB / 0.7067 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.006354, allocations: 75.77 kB / 0.7067 GB, free: 0.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.006565, allocations: 393.9 kB / 0.7071 GB, free: 372 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006689, allocations: 56.88 kB / 0.7072 GB, free: 320 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.006818, allocations: 203.5 kB / 0.7074 GB, free: 116 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.006994, allocations: 123.7 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.007025, allocations: 27.94 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.007054, allocations: 24 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.007093, allocations: 55.7 kB / 0.7076 GB, free: 15.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.007182, allocations: 119.7 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.00742, allocations: 295.1 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007422, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007424, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007428, allocations: 0 / 0.708 GB, free: 15.48 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.0006866/0.008115, allocations: 0.5925 MB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.00815, allocations: 8.031 kB / 0.7086 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.008205, allocations: 32.75 kB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.008411, allocations: 220.7 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.008428, allocations: 16.75 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.008463, allocations: 28.36 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.00877, allocations: 296.7 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.008784, allocations: 7.953 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.008801, allocations: 8 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.008808, allocations: 4 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.009069, allocations: 232.4 kB / 0.7094 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.009803, allocations: 0.6757 MB / 0.71 GB, free: 13.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.01014, allocations: 243.3 kB / 0.7103 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.01028, allocations: 148.4 kB / 0.7104 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.01029, allocations: 4 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.0106, allocations: 357.3 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.0106, allocations: 3.938 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001185/0.01179, allocations: 1.084 MB / 0.7118 GB, free: 11.23 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.01186, allocations: 225.6 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01203, allocations: 237.9 kB / 0.7122 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.01205, allocations: 41.7 kB / 0.7123 GB, free: 10.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.01212, allocations: 156.8 kB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.01218, allocations: 119 kB / 0.7126 GB, free: 10.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.01225, allocations: 70.19 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.01234, allocations: 346.8 kB / 0.7129 GB, free: 9.973 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.01253, allocations: 207.9 kB / 0.7131 GB, free: 9.75 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.01273, allocations: 311.2 kB / 0.7134 GB, free: 9.387 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.01307, allocations: 435 kB / 0.7139 GB, free: 8.895 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01307, allocations: 0 / 0.7139 GB, free: 8.895 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004687/0.01354, allocations: 0.5536 MB / 0.7144 GB, free: 8.297 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.01358, allocations: 89.09 kB / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01359, allocations: 4 kB / 0.7145 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.0136, allocations: 4 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01376, allocations: 80.17 kB / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01377, allocations: 11.94 kB / 0.7146 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01388, allocations: 23.98 kB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.0139, allocations: 16 kB / 0.7146 GB, free: 8.055 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.0001675/0.01407, allocations: 219.1 kB / 0.7148 GB, free: 7.816 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.01409, allocations: 35.81 kB / 0.7149 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.01413, allocations: 30.95 kB / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01413, allocations: 7.938 kB / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01414, allocations: 4 kB / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01414, allocations: 0 / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.01483, allocations: 0.7561 MB / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01483, allocations: 11.98 kB / 0.7157 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.01497, allocations: 55.89 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01498, allocations: 0 / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01499, allocations: 11.94 kB / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01499, allocations: 0 / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.015, allocations: 11.94 kB / 0.7157 GB, free: 6.832 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.01562, allocations: 0.7268 MB / 0.7164 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.01565, allocations: 23.81 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.01568, allocations: 16.05 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.01578, allocations: 15.98 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.01585, allocations: 31.89 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01586, allocations: 12 kB / 0.7165 GB, free: 5.949 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001049/0.01597, allocations: 181.2 kB / 0.7167 GB, free: 5.773 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01597, allocations: 4 kB / 0.7167 GB, free: 5.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002149/0.01618, allocations: 84 kB / 0.7168 GB, free: 5.688 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.0001416/0.01633, allocations: 128.6 kB / 0.7169 GB, free: 5.559 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.01688, allocations: 0.5576 MB / 0.7175 GB, free: 4.934 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01689, allocations: 4.125 kB / 0.7175 GB, free: 4.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.01709, allocations: 306 kB / 0.7178 GB, free: 4.594 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.01747, allocations: 91.95 kB / 0.7178 GB, free: 4.508 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.0184, allocations: 0.8086 MB / 0.7186 GB, free: 3.656 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.0185, allocations: 168.3 kB / 0.7188 GB, free: 3.469 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.01857, allocations: 28.5 kB / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.01857, allocations: 0 / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of Templates: time 0.1524/0.171, allocations: 4.015 MB / 0.7227 GB, free: 37.02 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.920943100005388]