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.001275/0.001275, 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.001449/0.001449, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.024/1.024, allocations: 177.1 MB / 203.5 MB, free: 5.695 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.6812/0.6812, allocations: 291.2 MB / 0.5382 GB, free: 51.78 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.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.142e-06/1.142e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.935e-05, allocations: 10.16 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine): time 0.00207/0.002089, allocations: 2.305 MB / 0.6996 GB, free: 8.027 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.006197, allocations: 6.541 MB / 0.706 GB, free: 1.477 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.006288, allocations: 4 kB / 0.706 GB, free: 1.473 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.006404, allocations: 23.72 kB / 0.706 GB, free: 1.449 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.006573, allocations: 83.27 kB / 0.7061 GB, free: 1.367 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.006756, allocations: 55.88 kB / 0.7062 GB, free: 1.312 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.006955, allocations: 270.6 kB / 0.7064 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.00708, allocations: 32.52 kB / 0.7065 GB, free: 1.02 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.0072, allocations: 143.6 kB / 0.7066 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.007356, allocations: 79.78 kB / 0.7067 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.00738, allocations: 16 kB / 0.7067 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.007399, allocations: 16 kB / 0.7067 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.00743, allocations: 47.77 kB / 0.7068 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.007489, allocations: 79.77 kB / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.007656, allocations: 191.4 kB / 0.707 GB, free: 468 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.007658, allocations: 0 / 0.707 GB, free: 468 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007659, allocations: 4 kB / 0.707 GB, free: 464 kB / 410.8 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.007664, allocations: 0 / 0.707 GB, free: 464 kB / 410.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.000606/0.00827, allocations: 0.493 MB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.008308, allocations: 8.031 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.008356, allocations: 24.8 kB / 0.7075 GB, free: 15.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.008536, allocations: 174.4 kB / 0.7077 GB, free: 15.68 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.008554, allocations: 12.61 kB / 0.7077 GB, free: 15.67 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.008583, allocations: 24.27 kB / 0.7077 GB, free: 15.65 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.008832, allocations: 206.5 kB / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.008843, allocations: 0 / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.00886, allocations: 0 / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.008866, allocations: 4 kB / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.00907, allocations: 146.2 kB / 0.7081 GB, free: 15.28 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.009599, allocations: 493.4 kB / 0.7085 GB, free: 14.77 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.009905, allocations: 172.2 kB / 0.7087 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01001, allocations: 94.52 kB / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.01002, allocations: 0 / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.01024, allocations: 236.4 kB / 0.709 GB, free: 14.22 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.01024, allocations: 0 / 0.709 GB, free: 14.22 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009038/0.01114, allocations: 0.6985 MB / 0.7097 GB, free: 13.46 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.0112, allocations: 148.4 kB / 0.7098 GB, free: 13.28 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01134, allocations: 207.1 kB / 0.71 GB, free: 13.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01136, allocations: 33.7 kB / 0.7101 GB, free: 13.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.01143, allocations: 132.4 kB / 0.7102 GB, free: 12.9 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.01147, allocations: 79.41 kB / 0.7103 GB, free: 12.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.01152, allocations: 49.7 kB / 0.7103 GB, free: 12.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.0116, allocations: 338.8 kB / 0.7106 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.01174, allocations: 145 kB / 0.7108 GB, free: 12.27 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.0119, allocations: 213.3 kB / 0.711 GB, free: 12.01 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.01217, allocations: 280.8 kB / 0.7113 GB, free: 11.7 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01217, allocations: 4 kB / 0.7113 GB, free: 11.69 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003374/0.01251, allocations: 398.5 kB / 0.7116 GB, free: 11.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.01254, allocations: 71.61 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01255, allocations: 0 / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01256, allocations: 4 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.01268, allocations: 51.84 kB / 0.7118 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01269, allocations: 4 kB / 0.7118 GB, free: 11.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.01278, allocations: 19.98 kB / 0.7118 GB, free: 11.11 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.0128, allocations: 12 kB / 0.7118 GB, free: 11.1 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: 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.0001495/0.01295, allocations: 176.3 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.01297, allocations: 23.86 kB / 0.712 GB, free: 10.89 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.013, allocations: 25.95 kB / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.013, allocations: 0 / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01301, allocations: 3.938 kB / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01301, allocations: 0 / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.01348, allocations: 0.5393 MB / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01348, allocations: 0 / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.01358, allocations: 31.97 kB / 0.7126 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01358, allocations: 4 kB / 0.7126 GB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01359, allocations: 8 kB / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.0136, allocations: 7.984 kB / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0136, allocations: 0 / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.0141, allocations: 0.4911 MB / 0.7131 GB, free: 9.699 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01413, allocations: 23.89 kB / 0.7131 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01415, allocations: 8 kB / 0.7131 GB, free: 9.668 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.01423, allocations: 15.98 kB / 0.7131 GB, free: 9.652 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.0143, allocations: 23.95 kB / 0.7131 GB, free: 9.629 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.01431, allocations: 8 kB / 0.7131 GB, free: 9.621 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.605e-05/0.01439, allocations: 160.4 kB / 0.7133 GB, free: 9.465 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0 / 0.7133 GB, free: 9.465 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001798/0.01457, allocations: 52 kB / 0.7133 GB, free: 9.414 MB / 426.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 8.121e-05/0.01465, allocations: 123 kB / 0.7135 GB, free: 9.285 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.01499, allocations: 379.8 kB / 0.7138 GB, free: 8.871 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01499, allocations: 3.938 kB / 0.7138 GB, free: 8.867 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.01512, allocations: 169 kB / 0.714 GB, free: 8.684 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.0154, allocations: 64 kB / 0.7141 GB, free: 8.625 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.01613, allocations: 0.607 MB / 0.7146 GB, free: 7.98 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.0162, allocations: 125.6 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.01625, allocations: 28.48 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.01625, allocations: 0 / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of Templates: time 0.003195/0.01945, allocations: 2.935 MB / 0.7177 GB, free: 4.906 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.638188165612519]