Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.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.001893/0.001893, 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.002021/0.002021, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.804/1.804, allocations: 230.6 MB / 256 MB, free: 9.617 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.492/1.492, allocations: 316.7 MB / 0.6144 GB, free: 93.57 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.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid") translateModel(Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid") [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.004048/0.004048, allocations: 73.19 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1553, allocations: 73.99 MB / 0.8473 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid): time 0.004848/0.1601, allocations: 2.709 MB / 0.8499 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.309/0.4691, allocations: 6.605 MB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.4693, allocations: 3.406 kB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.4695, allocations: 37.59 kB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.4698, allocations: 119.3 kB / 0.8565 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.4701, allocations: 75.84 kB / 0.8566 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.4704, allocations: 369 kB / 0.8569 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.4706, allocations: 60.48 kB / 0.857 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.4708, allocations: 146.7 kB / 0.8571 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.471, allocations: 135.9 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.4711, allocations: 23.09 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.4711, allocations: 26.97 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.4712, allocations: 50.62 kB / 0.8574 GB, free: 21.45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4713, allocations: 139.7 kB / 0.8575 GB, free: 21.41 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.4717, allocations: 291.1 kB / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4717, allocations: 1.406 kB / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4717, allocations: 0 / 0.8578 GB, free: 21.37 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4717, allocations: 0 / 0.8578 GB, free: 21.37 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001011/0.4727, allocations: 0.5974 MB / 0.8584 GB, free: 20.9 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4727, allocations: 13.94 kB / 0.8584 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.4728, allocations: 33.81 kB / 0.8584 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.4731, allocations: 211.5 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.4731, allocations: 21.28 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.4731, allocations: 24 kB / 0.8587 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.4736, allocations: 284.8 kB / 0.8589 GB, free: 20.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.4736, allocations: 3.953 kB / 0.8589 GB, free: 20.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4736, allocations: 11.7 kB / 0.8589 GB, free: 20.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.4736, allocations: 6.844 kB / 0.8589 GB, free: 20.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.474, allocations: 233.7 kB / 0.8592 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009939/0.475, allocations: 0.6787 MB / 0.8598 GB, free: 20.18 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.4755, allocations: 230.8 kB / 0.8601 GB, free: 20.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.4758, allocations: 150.7 kB / 0.8602 GB, free: 20.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4758, allocations: 6.891 kB / 0.8602 GB, free: 20.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.4761, allocations: 362.2 kB / 0.8605 GB, free: 19.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.4761, allocations: 0 / 0.8605 GB, free: 19.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001715/0.4779, allocations: 1.083 MB / 0.8616 GB, free: 19.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4779, allocations: 216.9 kB / 0.8618 GB, free: 18.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.4781, allocations: 249.2 kB / 0.8621 GB, free: 18.88 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4781, allocations: 38.7 kB / 0.8621 GB, free: 18.84 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.4782, allocations: 161.1 kB / 0.8622 GB, free: 18.73 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.4783, allocations: 118.8 kB / 0.8624 GB, free: 18.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.4784, allocations: 69.61 kB / 0.8624 GB, free: 18.65 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.4784, allocations: 341.8 kB / 0.8627 GB, free: 18.34 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.4787, allocations: 212 kB / 0.8629 GB, free: 18.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.479, allocations: 317.2 kB / 0.8633 GB, free: 18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.4795, allocations: 430.2 kB / 0.8637 GB, free: 17.73 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4795, allocations: 2 kB / 0.8637 GB, free: 17.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007235/0.4802, allocations: 0.5478 MB / 0.8642 GB, free: 17.48 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.4803, allocations: 92.23 kB / 0.8643 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4803, allocations: 3.656 kB / 0.8643 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4803, allocations: 4.969 kB / 0.8643 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.4806, allocations: 82.39 kB / 0.8644 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4806, allocations: 5.703 kB / 0.8644 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4808, allocations: 26.56 kB / 0.8644 GB, free: 17.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.4809, allocations: 19.84 kB / 0.8644 GB, free: 17.37 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: 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.0001968/0.4811, allocations: 222.9 kB / 0.8646 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.4811, allocations: 36.69 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.4812, allocations: 33.17 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4812, allocations: 3.094 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4812, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4812, allocations: 6.594 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4822, allocations: 0.7635 MB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4822, allocations: 2.031 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.4825, allocations: 52.12 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4825, allocations: 3.5 kB / 0.8655 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.4825, allocations: 14.31 kB / 0.8655 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.4825, allocations: 2.875 kB / 0.8655 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4825, allocations: 0 / 0.8655 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.4837, allocations: 0.7256 MB / 0.8662 GB, free: 16.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.4837, allocations: 29.06 kB / 0.8663 GB, free: 16.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.4838, allocations: 16.8 kB / 0.8663 GB, free: 16.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.484, allocations: 17.25 kB / 0.8663 GB, free: 16.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.4841, allocations: 29.42 kB / 0.8663 GB, free: 16.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.4842, allocations: 13.81 kB / 0.8663 GB, free: 16.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4843, allocations: 178 kB / 0.8665 GB, free: 16.33 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4843, allocations: 0.7188 kB / 0.8665 GB, free: 16.33 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003907/0.4847, allocations: 84.53 kB / 0.8666 GB, free: 16.33 MB / 490.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.0001425/0.4849, allocations: 124.1 kB / 0.8667 GB, free: 16.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.4857, allocations: 0.5706 MB / 0.8673 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4857, allocations: 1.344 kB / 0.8673 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.486, allocations: 296.5 kB / 0.8675 GB, free: 15.68 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.4866, allocations: 92.25 kB / 0.8676 GB, free: 15.68 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.4883, allocations: 0.9375 MB / 0.8686 GB, free: 15.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4885, allocations: 160.1 kB / 0.8687 GB, free: 15.11 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000155/0.4886, allocations: 33.81 kB / 0.8687 GB, free: 15.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.4887, allocations: 27.06 kB / 0.8688 GB, free: 15.1 MB / 490.8 MB Notification: Performance of SimCode: time 7.21e-07/0.4887, allocations: 4 kB / 0.8688 GB, free: 15.1 MB / 490.8 MB Notification: Performance of Templates: time 0.01086/0.4996, allocations: 4.986 MB / 0.8736 GB, free: 14.61 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.S_SensoryOrgans.S02A_Antiinfectives.S02AA03_BoricAcid.BoricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.348933401983231]