Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.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.000989/0.000989, 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.00123/0.00123, allocations: 165.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 1.021/1.021, 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.7995/0.7995, allocations: 291.2 MB / 0.5382 GB, free: 51.84 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.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 7.938 kB / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.53e-05, allocations: 8.891 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine): time 0.002156/0.002172, allocations: 3.023 MB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.005519, allocations: 6.646 MB / 0.7068 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.005602, allocations: 0 / 0.7068 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.005698, allocations: 43.56 kB / 0.7069 GB, free: 0.6367 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.005864, allocations: 131 kB / 0.707 GB, free: 0.5078 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.006023, allocations: 79.8 kB / 0.7071 GB, free: 440 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.006239, allocations: 437.8 kB / 0.7075 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.006379, allocations: 62.02 kB / 0.7076 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.006547, allocations: 223.5 kB / 0.7078 GB, free: 15.72 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.006714, allocations: 123.6 kB / 0.7079 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.006747, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.006782, allocations: 32 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.00682, allocations: 67.69 kB / 0.708 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.006905, allocations: 123.8 kB / 0.7081 GB, free: 15.35 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.007155, allocations: 366.9 kB / 0.7085 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007157, allocations: 0 / 0.7085 GB, free: 14.99 MB / 426.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007157, allocations: 0 / 0.7085 GB, free: 14.99 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007162, allocations: 0 / 0.7085 GB, free: 14.99 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.0006689/0.007831, allocations: 0.6076 MB / 0.7091 GB, free: 14.34 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.007861, allocations: 11.97 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.007913, allocations: 40.7 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.008122, allocations: 224.7 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.008138, allocations: 12.88 kB / 0.7093 GB, free: 14.03 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.008174, allocations: 32.31 kB / 0.7094 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.008495, allocations: 302.2 kB / 0.7097 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.008508, allocations: 4 kB / 0.7097 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008525, allocations: 8 kB / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.008531, allocations: 11.94 kB / 0.7097 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.008808, allocations: 244.5 kB / 0.7099 GB, free: 13.4 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.009469, allocations: 0.6465 MB / 0.7106 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.009838, allocations: 274 kB / 0.7108 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.00999, allocations: 164.4 kB / 0.711 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.009999, allocations: 0 / 0.711 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.01029, allocations: 382.9 kB / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.062e-06/0.01029, allocations: 0 / 0.7113 GB, free: 11.83 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001193/0.01148, allocations: 1.123 MB / 0.7124 GB, free: 10.61 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.01155, allocations: 225.6 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.01172, allocations: 257.8 kB / 0.7129 GB, free: 10.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01174, allocations: 37.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.01181, allocations: 156.8 kB / 0.7131 GB, free: 9.883 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.01187, allocations: 119 kB / 0.7132 GB, free: 9.766 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.01194, allocations: 74.16 kB / 0.7133 GB, free: 9.688 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.01202, allocations: 346.7 kB / 0.7136 GB, free: 9.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01221, allocations: 215.9 kB / 0.7138 GB, free: 9.109 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.01243, allocations: 330.8 kB / 0.7141 GB, free: 8.719 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.01278, allocations: 462.2 kB / 0.7146 GB, free: 8.199 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01278, allocations: 0 / 0.7146 GB, free: 8.199 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004837/0.01326, allocations: 0.573 MB / 0.7151 GB, free: 7.582 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.01331, allocations: 93.44 kB / 0.7152 GB, free: 7.473 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01331, allocations: 8 kB / 0.7152 GB, free: 7.465 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01332, allocations: 4 kB / 0.7152 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01349, allocations: 83.83 kB / 0.7153 GB, free: 7.379 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01349, allocations: 4 kB / 0.7153 GB, free: 7.375 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.0136, allocations: 19.98 kB / 0.7153 GB, free: 7.355 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.01362, allocations: 19.98 kB / 0.7153 GB, free: 7.336 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.0001647/0.01379, allocations: 244.4 kB / 0.7156 GB, free: 7.082 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.01381, allocations: 31.81 kB / 0.7156 GB, free: 7.051 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.01385, allocations: 38.95 kB / 0.7156 GB, free: 7.012 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01385, allocations: 4 kB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01385, allocations: 0 / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01386, allocations: 0 / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.01456, allocations: 0.8211 MB / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01456, allocations: 4 kB / 0.7164 GB, free: 6.125 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.01471, allocations: 55.97 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01471, allocations: 4 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01473, allocations: 11.98 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01473, allocations: 0 / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01473, allocations: 4 kB / 0.7165 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.01535, allocations: 0.7639 MB / 0.7173 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.01542, allocations: 59.77 kB / 0.7173 GB, free: 5.176 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.01546, allocations: 16 kB / 0.7173 GB, free: 5.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.01556, allocations: 19.98 kB / 0.7174 GB, free: 5.141 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.01562, allocations: 27.94 kB / 0.7174 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01564, allocations: 19.88 kB / 0.7174 GB, free: 5.094 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01575, allocations: 185.2 kB / 0.7176 GB, free: 4.914 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01575, allocations: 0 / 0.7176 GB, free: 4.914 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002124/0.01596, allocations: 84 kB / 0.7177 GB, free: 4.832 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 8.622e-05/0.01605, allocations: 134.7 kB / 0.7178 GB, free: 4.695 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.01651, allocations: 0.5881 MB / 0.7184 GB, free: 4.039 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01651, allocations: 4 kB / 0.7184 GB, free: 4.035 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.01672, allocations: 314.1 kB / 0.7187 GB, free: 3.691 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.01703, allocations: 81.14 kB / 0.7187 GB, free: 3.609 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.01794, allocations: 0.8868 MB / 0.7196 GB, free: 2.68 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.198e-05/0.01803, allocations: 168.2 kB / 0.7198 GB, free: 2.492 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.01809, allocations: 32.5 kB / 0.7198 GB, free: 2.461 MB / 426.8 MB Notification: Performance of SimCode: time 7.52e-07/0.0181, allocations: 4 kB / 0.7198 GB, free: 2.457 MB / 426.8 MB Notification: Performance of Templates: time 0.1597/0.1778, allocations: 4.37 MB / 0.7241 GB, free: 36.3 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC02_Guanfacine.Guanfacine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.937595130875707]