Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.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.002367/0.002367, allocations: 88.44 kB / 19.18 MB, free: 0.7344 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.002756/0.002756, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.381/1.381, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6999 GB, free: 9.582 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.536e-05, allocations: 6.219 kB / 0.6999 GB, free: 9.574 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine): time 0.004256/0.004291, allocations: 2.321 MB / 0.7022 GB, free: 7.242 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.00981/0.0141, allocations: 6.514 MB / 0.7085 GB, free: 0.7188 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.01431, allocations: 4 kB / 0.7085 GB, free: 0.7148 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.01446, allocations: 35.64 kB / 0.7086 GB, free: 0.6797 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.01477, allocations: 87.27 kB / 0.7087 GB, free: 0.5938 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.015, allocations: 47.88 kB / 0.7087 GB, free: 0.5469 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.01537, allocations: 274.5 kB / 0.709 GB, free: 284 kB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.01552, allocations: 36.56 kB / 0.709 GB, free: 248 kB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.01575, allocations: 135.7 kB / 0.7091 GB, free: 112 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.01598, allocations: 83.72 kB / 0.7092 GB, free: 28 kB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.01602, allocations: 20 kB / 0.7092 GB, free: 8 kB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.01608, allocations: 16.05 kB / 0.7093 GB, free: 15.99 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.01613, allocations: 39.78 kB / 0.7093 GB, free: 15.95 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.01624, allocations: 79.73 kB / 0.7094 GB, free: 15.88 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.01655, allocations: 203.3 kB / 0.7096 GB, free: 15.68 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01656, allocations: 0 / 0.7096 GB, free: 15.68 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01656, allocations: 0 / 0.7096 GB, free: 15.68 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.01658, allocations: 0 / 0.7096 GB, free: 15.68 MB / 474.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.001058/0.01763, allocations: 0.4891 MB / 0.71 GB, free: 15.14 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01768, allocations: 8.031 kB / 0.71 GB, free: 15.13 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.01775, allocations: 24.8 kB / 0.7101 GB, free: 15.11 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.01804, allocations: 186.3 kB / 0.7102 GB, free: 14.9 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.01806, allocations: 8.609 kB / 0.7103 GB, free: 14.89 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.0181, allocations: 12.38 kB / 0.7103 GB, free: 14.88 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.01854, allocations: 194.7 kB / 0.7105 GB, free: 14.67 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01855, allocations: 4 kB / 0.7105 GB, free: 14.67 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.01857, allocations: 4 kB / 0.7105 GB, free: 14.66 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.01858, allocations: 8 kB / 0.7105 GB, free: 14.66 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.01898, allocations: 146.2 kB / 0.7106 GB, free: 14.51 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.01992, allocations: 477.5 kB / 0.7111 GB, free: 14.01 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.02047, allocations: 172.2 kB / 0.7112 GB, free: 13.82 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.0207, allocations: 102.5 kB / 0.7113 GB, free: 13.71 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.02072, allocations: 7.938 kB / 0.7113 GB, free: 13.71 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.02114, allocations: 236.2 kB / 0.7116 GB, free: 13.45 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.02114, allocations: 0 / 0.7116 GB, free: 13.45 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001782/0.02293, allocations: 0.7121 MB / 0.7123 GB, free: 12.67 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.02306, allocations: 140.5 kB / 0.7124 GB, free: 12.5 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.02333, allocations: 211.1 kB / 0.7126 GB, free: 12.29 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.02337, allocations: 33.7 kB / 0.7126 GB, free: 12.25 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.02351, allocations: 132.4 kB / 0.7127 GB, free: 12.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.02359, allocations: 67.48 kB / 0.7128 GB, free: 12.05 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.02369, allocations: 49.7 kB / 0.7129 GB, free: 12 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.02389, allocations: 338.8 kB / 0.7132 GB, free: 11.66 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.02419, allocations: 144.9 kB / 0.7133 GB, free: 11.5 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.02458, allocations: 229.3 kB / 0.7135 GB, free: 11.23 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.02509, allocations: 276.6 kB / 0.7138 GB, free: 10.91 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.02509, allocations: 0 / 0.7138 GB, free: 10.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007492/0.02584, allocations: 394.8 kB / 0.7142 GB, free: 10.5 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/0.02591, allocations: 66.2 kB / 0.7142 GB, free: 10.43 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02592, allocations: 0 / 0.7142 GB, free: 10.43 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02594, allocations: 4 kB / 0.7142 GB, free: 10.42 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.02618, allocations: 51.84 kB / 0.7143 GB, free: 10.37 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.02619, allocations: 8.219 kB / 0.7143 GB, free: 10.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.0264, allocations: 15.98 kB / 0.7143 GB, free: 10.35 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.02643, allocations: 16 kB / 0.7143 GB, free: 10.33 MB / 474.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.0002386/0.02667, allocations: 172.7 kB / 0.7145 GB, free: 10.15 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.02671, allocations: 19.86 kB / 0.7145 GB, free: 10.13 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.02677, allocations: 25.95 kB / 0.7145 GB, free: 10.1 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000254/0.02703, allocations: 4 kB / 0.7145 GB, free: 10.1 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.02704, allocations: 3.938 kB / 0.7145 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02704, allocations: 4 kB / 0.7146 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.02802, allocations: 0.5406 MB / 0.7151 GB, free: 9.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.02802, allocations: 4 kB / 0.7151 GB, free: 9.496 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.02823, allocations: 31.97 kB / 0.7151 GB, free: 9.465 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.02823, allocations: 0 / 0.7151 GB, free: 9.465 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.02827, allocations: 8 kB / 0.7151 GB, free: 9.457 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02827, allocations: 0 / 0.7151 GB, free: 9.457 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02828, allocations: 0 / 0.7151 GB, free: 9.457 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.02919, allocations: 0.4996 MB / 0.7156 GB, free: 8.926 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.02925, allocations: 19.89 kB / 0.7156 GB, free: 8.906 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.02929, allocations: 8 kB / 0.7156 GB, free: 8.898 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.02948, allocations: 11.98 kB / 0.7156 GB, free: 8.887 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.02957, allocations: 27.97 kB / 0.7157 GB, free: 8.859 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.02959, allocations: 11.92 kB / 0.7157 GB, free: 8.848 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0001813/0.02977, allocations: 156.4 kB / 0.7158 GB, free: 8.695 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02977, allocations: 0 / 0.7158 GB, free: 8.695 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003142/0.03009, allocations: 60 kB / 0.7159 GB, free: 8.637 MB / 474.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.0001805/0.03027, allocations: 115.2 kB / 0.716 GB, free: 8.512 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.03096, allocations: 375.6 kB / 0.7164 GB, free: 8.102 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.03097, allocations: 7.938 kB / 0.7164 GB, free: 8.094 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.03128, allocations: 173.5 kB / 0.7165 GB, free: 7.906 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.03175, allocations: 51.95 kB / 0.7166 GB, free: 7.855 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.03302, allocations: 0.5742 MB / 0.7171 GB, free: 7.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.03318, allocations: 133.7 kB / 0.7173 GB, free: 7.098 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.03328, allocations: 21.94 kB / 0.7173 GB, free: 7.078 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.03335, allocations: 20.5 kB / 0.7173 GB, free: 7.059 MB / 474.8 MB Notification: Performance of SimCode: time 6.02e-07/0.03335, allocations: 0 / 0.7173 GB, free: 7.059 MB / 474.8 MB Notification: Performance of Templates: time 0.008412/0.04176, allocations: 3.345 MB / 0.7206 GB, free: 3.879 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.649427535943687]