Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.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.001682/0.001682, 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.002277/0.002277, 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 0.9924/0.9924, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.622/0.622, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.825e-05, allocations: 14.16 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin): time 0.002111/0.002129, allocations: 2.715 MB / 0.7 GB, free: 7.605 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.005751, allocations: 6.611 MB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.005847, allocations: 4 kB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.005957, allocations: 35.58 kB / 0.7065 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.006133, allocations: 123 kB / 0.7066 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.006315, allocations: 71.83 kB / 0.7067 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.006525, allocations: 397.9 kB / 0.7071 GB, free: 372 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006649, allocations: 64.81 kB / 0.7072 GB, free: 312 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.006785, allocations: 203.5 kB / 0.7074 GB, free: 108 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.006957, allocations: 119.6 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.006988, allocations: 24 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.024e-05/0.007019, allocations: 24 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.007054, allocations: 55.75 kB / 0.7076 GB, free: 15.89 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.007139, allocations: 115.7 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.007363, allocations: 291.1 kB / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007365, allocations: 0 / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007366, allocations: 0 / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.007371, allocations: 4 kB / 0.708 GB, free: 15.48 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006846/0.008055, allocations: 0.5963 MB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.008088, allocations: 8.031 kB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.00814, allocations: 32.75 kB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.008336, allocations: 220.7 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.008354, allocations: 16.75 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.008385, allocations: 24.38 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.008699, allocations: 296.5 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.008714, allocations: 3.953 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.008734, allocations: 12 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008739, allocations: 4 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.009005, allocations: 232.4 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.009721, allocations: 0.6718 MB / 0.71 GB, free: 13.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.01005, allocations: 242.6 kB / 0.7102 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.01018, allocations: 152.4 kB / 0.7104 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.01019, allocations: 4 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.01047, allocations: 361.5 kB / 0.7107 GB, free: 12.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01047, allocations: 0 / 0.7107 GB, free: 12.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00114/0.01161, allocations: 1.079 MB / 0.7118 GB, free: 11.23 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.01169, allocations: 225.6 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01185, allocations: 241.9 kB / 0.7122 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.01187, allocations: 37.7 kB / 0.7123 GB, free: 10.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.01194, allocations: 160.8 kB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.01199, allocations: 115 kB / 0.7125 GB, free: 10.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.01206, allocations: 70.2 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.01214, allocations: 346.7 kB / 0.7129 GB, free: 9.977 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.01231, allocations: 207.9 kB / 0.7131 GB, free: 9.754 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.01251, allocations: 319.1 kB / 0.7134 GB, free: 9.383 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.01284, allocations: 435.1 kB / 0.7138 GB, free: 8.891 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01284, allocations: 0 / 0.7138 GB, free: 8.891 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004568/0.0133, allocations: 0.5497 MB / 0.7144 GB, free: 8.297 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.01334, allocations: 93.09 kB / 0.7145 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01335, allocations: 352 / 0.7145 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01336, allocations: 12 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.01352, allocations: 75.83 kB / 0.7146 GB, free: 8.102 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01352, allocations: 4 kB / 0.7146 GB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01365, allocations: 23.98 kB / 0.7146 GB, free: 8.074 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01367, allocations: 16 kB / 0.7146 GB, free: 8.059 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: 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.0001581/0.01383, allocations: 229.6 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.01385, allocations: 31.81 kB / 0.7148 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.01389, allocations: 34.95 kB / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01389, allocations: 4 kB / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01389, allocations: 0 / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.0139, allocations: 0 / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.01455, allocations: 0.76 MB / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01455, allocations: 0 / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.01469, allocations: 59.95 kB / 0.7157 GB, free: 6.863 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0147, allocations: 4 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01471, allocations: 8 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01471, allocations: 0 / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01472, allocations: 7.875 kB / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.0153, allocations: 0.723 MB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.01533, allocations: 27.88 kB / 0.7164 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.01536, allocations: 8 kB / 0.7164 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.01545, allocations: 23.97 kB / 0.7165 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.01552, allocations: 35.83 kB / 0.7165 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01554, allocations: 12.12 kB / 0.7165 GB, free: 5.957 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001065/0.01565, allocations: 181.2 kB / 0.7167 GB, free: 5.781 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01565, allocations: 0 / 0.7167 GB, free: 5.781 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002094/0.01586, allocations: 84 kB / 0.7168 GB, free: 5.699 MB / 426.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.0001011/0.01596, allocations: 126.9 kB / 0.7169 GB, free: 5.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.0164, allocations: 0.5648 MB / 0.7174 GB, free: 4.938 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.0164, allocations: 0 / 0.7174 GB, free: 4.938 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.0166, allocations: 301.6 kB / 0.7177 GB, free: 4.609 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.01692, allocations: 92.59 kB / 0.7178 GB, free: 4.523 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.01778, allocations: 0.8164 MB / 0.7186 GB, free: 3.664 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.01787, allocations: 160.3 kB / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01793, allocations: 36.5 kB / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01793, allocations: 0 / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of Templates: time 0.1606/0.1785, allocations: 4.019 MB / 0.7227 GB, free: 36.77 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.728791993111372]