Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.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.0009901/0.0009901, 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.001585/0.001585, allocations: 169.9 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.9496/0.9496, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7064/0.7064, allocations: 291.1 MB / 0.5382 GB, free: 51.92 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.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=691200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.019e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone): time 0.003688/0.003718, allocations: 3.017 MB / 0.7003 GB, free: 7.355 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005809/0.009527, allocations: 6.65 MB / 0.7068 GB, free: 0.6953 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.009682, allocations: 4 kB / 0.7068 GB, free: 0.6914 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.009823, allocations: 35.58 kB / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.0101, allocations: 127 kB / 0.7069 GB, free: 0.5312 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.01036, allocations: 91.83 kB / 0.707 GB, free: 452 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.01073, allocations: 437.8 kB / 0.7074 GB, free: 12 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.01093, allocations: 61.36 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.01119, allocations: 227.5 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.01145, allocations: 123.6 kB / 0.7078 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.0115, allocations: 32 kB / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.01155, allocations: 32 kB / 0.7079 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.01161, allocations: 71.67 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.01175, allocations: 119.8 kB / 0.7081 GB, free: 15.36 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.01218, allocations: 359 kB / 0.7084 GB, free: 15.01 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.01219, allocations: 7.984 kB / 0.7084 GB, free: 15 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01219, allocations: 0 / 0.7084 GB, free: 15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.0122, allocations: 0 / 0.7084 GB, free: 15 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009475/0.01314, allocations: 0.5959 MB / 0.709 GB, free: 14.36 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01318, allocations: 12.03 kB / 0.709 GB, free: 14.34 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.01327, allocations: 40.64 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.01357, allocations: 228.7 kB / 0.7093 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01359, allocations: 20.88 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.01364, allocations: 24.33 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.01414, allocations: 314.2 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.01416, allocations: 0 / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.01419, allocations: 8 kB / 0.7096 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.0142, allocations: 4 kB / 0.7096 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.01468, allocations: 256.2 kB / 0.7099 GB, free: 13.41 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.01577, allocations: 0.6505 MB / 0.7105 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.01636, allocations: 270 kB / 0.7108 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.01659, allocations: 156.4 kB / 0.7109 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.0166, allocations: 7.938 kB / 0.7109 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.01703, allocations: 375.3 kB / 0.7113 GB, free: 11.84 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.01703, allocations: 0 / 0.7113 GB, free: 11.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001932/0.01896, allocations: 1.131 MB / 0.7124 GB, free: 10.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.01906, allocations: 221.6 kB / 0.7126 GB, free: 10.35 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.01932, allocations: 257.8 kB / 0.7128 GB, free: 10.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.01935, allocations: 33.7 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01946, allocations: 152.9 kB / 0.713 GB, free: 9.898 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.01955, allocations: 123 kB / 0.7131 GB, free: 9.777 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.01965, allocations: 70.19 kB / 0.7132 GB, free: 9.703 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003583/0.02001, allocations: 350.7 kB / 0.7135 GB, free: 9.352 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.02034, allocations: 219.9 kB / 0.7138 GB, free: 9.117 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.02069, allocations: 318.9 kB / 0.7141 GB, free: 8.738 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.02125, allocations: 462.1 kB / 0.7145 GB, free: 8.219 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02126, allocations: 8 kB / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008057/0.02206, allocations: 0.5768 MB / 0.7151 GB, free: 7.59 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.02212, allocations: 91.44 kB / 0.7152 GB, free: 7.484 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.02213, allocations: 4.344 kB / 0.7152 GB, free: 7.48 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.02215, allocations: 8 kB / 0.7152 GB, free: 7.473 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.0224, allocations: 83.83 kB / 0.7152 GB, free: 7.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.02241, allocations: 4 kB / 0.7153 GB, free: 7.387 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.0226, allocations: 23.98 kB / 0.7153 GB, free: 7.363 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.02264, allocations: 20 kB / 0.7153 GB, free: 7.344 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0002525/0.02289, allocations: 247.2 kB / 0.7155 GB, free: 7.086 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.02294, allocations: 31.81 kB / 0.7156 GB, free: 7.055 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.023, allocations: 30.95 kB / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.023, allocations: 4 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02301, allocations: 3.938 kB / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02301, allocations: 0 / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.02414, allocations: 0.8174 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02414, allocations: 0 / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.0244, allocations: 59.91 kB / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0244, allocations: 0 / 0.7165 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.02443, allocations: 11.98 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.02444, allocations: 4 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02444, allocations: 4 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.02548, allocations: 0.7755 MB / 0.7172 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.0256, allocations: 59.75 kB / 0.7173 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.02566, allocations: 12 kB / 0.7173 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.02585, allocations: 19.98 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.02595, allocations: 31.95 kB / 0.7173 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.02598, allocations: 19.92 kB / 0.7174 GB, free: 5.094 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001738/0.02615, allocations: 181.2 kB / 0.7175 GB, free: 4.918 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02615, allocations: 4 kB / 0.7175 GB, free: 4.914 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003651/0.02652, allocations: 88 kB / 0.7176 GB, free: 4.828 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.0001409/0.02666, allocations: 122.7 kB / 0.7177 GB, free: 4.703 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.02742, allocations: 0.5882 MB / 0.7183 GB, free: 4.047 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02742, allocations: 0 / 0.7183 GB, free: 4.047 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.02778, allocations: 314 kB / 0.7186 GB, free: 3.703 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.02831, allocations: 89.12 kB / 0.7187 GB, free: 3.613 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02978, allocations: 0.883 MB / 0.7196 GB, free: 2.688 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02992, allocations: 172.2 kB / 0.7197 GB, free: 2.496 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.03002, allocations: 28.5 kB / 0.7198 GB, free: 2.469 MB / 426.8 MB Notification: Performance of SimCode: time 9.02e-07/0.03002, allocations: 3.938 kB / 0.7198 GB, free: 2.465 MB / 426.8 MB Notification: Performance of Templates: time 0.1661/0.1961, allocations: 4.372 MB / 0.724 GB, free: 36.32 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J04B_DrugsForTreatmentOfLepra.J04BA02_Dapsone.Dapsone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.112407081760466]