Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.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.0009617/0.0009617, 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.0009341/0.0009341, 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.01/1.01, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7517/0.7517, allocations: 291.1 MB / 0.5382 GB, free: 51.85 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.74e-05, allocations: 4.953 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban): time 0.002341/0.002359, allocations: 3.028 MB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.006146, allocations: 6.646 MB / 0.7068 GB, free: 0.6914 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.006247, allocations: 4 kB / 0.7068 GB, free: 0.6875 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.006365, allocations: 35.58 kB / 0.7068 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.006561, allocations: 134.9 kB / 0.707 GB, free: 0.5195 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.006753, allocations: 87.83 kB / 0.7071 GB, free: 444 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.006992, allocations: 429.9 kB / 0.7075 GB, free: 12 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.007149, allocations: 65.34 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.007334, allocations: 223.4 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.007527, allocations: 127.6 kB / 0.7079 GB, free: 15.61 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.007563, allocations: 32 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.007596, allocations: 40 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.007638, allocations: 63.7 kB / 0.708 GB, free: 15.47 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.007732, allocations: 123.7 kB / 0.7081 GB, free: 15.35 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.008004, allocations: 363 kB / 0.7085 GB, free: 15 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.008006, allocations: 0 / 0.7085 GB, free: 15 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008007, allocations: 0 / 0.7085 GB, free: 15 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.008012, allocations: 0 / 0.7085 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.0007513/0.008763, allocations: 0.6076 MB / 0.709 GB, free: 14.34 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.008799, allocations: 8.031 kB / 0.7091 GB, free: 14.33 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.008857, allocations: 36.7 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.009074, allocations: 224.7 kB / 0.7093 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.009095, allocations: 16.88 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.00913, allocations: 24.33 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.009475, allocations: 314.1 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.009491, allocations: 4 kB / 0.7096 GB, free: 13.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.00951, allocations: 8 kB / 0.7097 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.009516, allocations: 4 kB / 0.7097 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.009805, allocations: 248.2 kB / 0.7099 GB, free: 13.41 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.01052, allocations: 0.6504 MB / 0.7105 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.01091, allocations: 270.9 kB / 0.7108 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.01106, allocations: 164.4 kB / 0.7109 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01107, allocations: 4 kB / 0.7109 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.01137, allocations: 367.5 kB / 0.7113 GB, free: 11.85 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.01138, allocations: 3.938 kB / 0.7113 GB, free: 11.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001249/0.01262, allocations: 1.135 MB / 0.7124 GB, free: 10.61 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.0127, allocations: 221.6 kB / 0.7126 GB, free: 10.35 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01287, allocations: 253.9 kB / 0.7129 GB, free: 10.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.0129, allocations: 37.69 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.01312, allocations: 156.8 kB / 0.713 GB, free: 9.891 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.01318, allocations: 119.1 kB / 0.7132 GB, free: 9.773 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.01325, allocations: 70.19 kB / 0.7132 GB, free: 9.699 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.01333, allocations: 350.7 kB / 0.7136 GB, free: 9.348 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.01353, allocations: 215.9 kB / 0.7138 GB, free: 9.117 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.01375, allocations: 330.9 kB / 0.7141 GB, free: 8.727 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.01411, allocations: 458.1 kB / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01411, allocations: 0 / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005049/0.01461, allocations: 0.5848 MB / 0.7151 GB, free: 7.582 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.01465, allocations: 89.09 kB / 0.7152 GB, free: 7.477 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01466, allocations: 4 kB / 0.7152 GB, free: 7.473 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01467, allocations: 4 kB / 0.7152 GB, free: 7.469 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01484, allocations: 79.89 kB / 0.7153 GB, free: 7.391 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.01485, allocations: 11.92 kB / 0.7153 GB, free: 7.379 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01496, allocations: 19.98 kB / 0.7153 GB, free: 7.359 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.01498, allocations: 16 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.0001748/0.01515, allocations: 250.7 kB / 0.7155 GB, free: 7.082 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.01519, allocations: 31.81 kB / 0.7156 GB, free: 7.051 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.01522, allocations: 30.95 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01523, allocations: 4 kB / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01523, allocations: 0 / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01523, allocations: 0 / 0.7156 GB, free: 7.016 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.01593, allocations: 0.8212 MB / 0.7164 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01593, allocations: 0 / 0.7164 GB, free: 6.137 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.01608, allocations: 59.89 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01609, allocations: 7.938 kB / 0.7165 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.0161, allocations: 8 kB / 0.7165 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01611, allocations: 7.984 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01611, allocations: 0 / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.01673, allocations: 0.7718 MB / 0.7172 GB, free: 5.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.01681, allocations: 51.77 kB / 0.7173 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.01684, allocations: 16 kB / 0.7173 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.01694, allocations: 15.98 kB / 0.7173 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.01701, allocations: 31.95 kB / 0.7174 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.01703, allocations: 19.86 kB / 0.7174 GB, free: 5.098 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01714, allocations: 181.2 kB / 0.7175 GB, free: 4.922 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01714, allocations: 0 / 0.7175 GB, free: 4.922 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002155/0.01736, allocations: 91.94 kB / 0.7176 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 9.37e-05/0.01745, allocations: 128.1 kB / 0.7178 GB, free: 4.703 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.01792, allocations: 0.5881 MB / 0.7183 GB, free: 4.047 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01793, allocations: 0 / 0.7183 GB, free: 4.047 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.01814, allocations: 314.7 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.0003378/0.01847, allocations: 90.61 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.001001/0.01948, allocations: 0.8908 MB / 0.7196 GB, free: 2.68 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.01972, allocations: 168.2 kB / 0.7197 GB, free: 2.492 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.01978, allocations: 28.5 kB / 0.7198 GB, free: 2.465 MB / 426.8 MB Notification: Performance of SimCode: time 7.32e-07/0.01979, allocations: 8 kB / 0.7198 GB, free: 2.457 MB / 426.8 MB Notification: Performance of Templates: time 0.1973/0.217, allocations: 4.365 MB / 0.724 GB, free: 36.3 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.591088100336492]