Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.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.001007/0.001007, 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.0009612/0.0009612, allocations: 169.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.9294/0.9294, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.7208/0.7208, 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.763e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux): time 0.002119/0.002146, allocations: 2.305 MB / 0.6996 GB, free: 8.078 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.006221, allocations: 6.533 MB / 0.706 GB, free: 1.535 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.006341, allocations: 4 kB / 0.706 GB, free: 1.531 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.006484, allocations: 27.7 kB / 0.706 GB, free: 1.504 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.006699, allocations: 87.27 kB / 0.7061 GB, free: 1.418 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.006939, allocations: 51.88 kB / 0.7061 GB, free: 1.367 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.007167, allocations: 266.6 kB / 0.7064 GB, free: 1.105 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.007325, allocations: 44.5 kB / 0.7064 GB, free: 1.066 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.007464, allocations: 135.6 kB / 0.7066 GB, free: 0.9336 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.007646, allocations: 83.77 kB / 0.7066 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.007673, allocations: 16 kB / 0.7067 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.007696, allocations: 23.94 kB / 0.7067 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.007729, allocations: 39.78 kB / 0.7067 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.007803, allocations: 67.84 kB / 0.7068 GB, free: 0.707 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.007999, allocations: 207.4 kB / 0.707 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.008001, allocations: 0 / 0.707 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008003, allocations: 0 / 0.707 GB, free: 0.5039 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.008008, allocations: 4 kB / 0.707 GB, free: 0.5 MB / 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.0006117/0.00862, allocations: 487.2 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.008663, allocations: 12.03 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.008718, allocations: 24.8 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.008941, allocations: 186.3 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.008962, allocations: 12.55 kB / 0.7077 GB, free: 15.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.008994, allocations: 16.38 kB / 0.7077 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.009275, allocations: 196.2 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.009291, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.009309, allocations: 8 kB / 0.7079 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009316, allocations: 0 / 0.7079 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.009536, allocations: 150.2 kB / 0.708 GB, free: 15.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.0102, allocations: 489.3 kB / 0.7085 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.01053, allocations: 176.2 kB / 0.7087 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.01064, allocations: 95.14 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.01065, allocations: 0 / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.01089, allocations: 238.5 kB / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.01089, allocations: 0 / 0.709 GB, free: 14.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009291/0.01182, allocations: 0.7101 MB / 0.7097 GB, free: 13.51 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.01188, allocations: 144.5 kB / 0.7098 GB, free: 13.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.01203, allocations: 215.1 kB / 0.71 GB, free: 13.12 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01205, allocations: 29.7 kB / 0.71 GB, free: 13.08 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.01212, allocations: 136.4 kB / 0.7102 GB, free: 12.95 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.01215, allocations: 67.42 kB / 0.7102 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.01221, allocations: 53.7 kB / 0.7103 GB, free: 12.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.01229, allocations: 334.8 kB / 0.7106 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.01243, allocations: 145 kB / 0.7107 GB, free: 12.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.0126, allocations: 221.3 kB / 0.711 GB, free: 12.06 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.01285, allocations: 282.3 kB / 0.7112 GB, free: 11.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01285, allocations: 3.938 kB / 0.7112 GB, free: 11.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003574/0.01321, allocations: 391.9 kB / 0.7116 GB, free: 11.33 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.01325, allocations: 67.39 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01326, allocations: 4.219 kB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01327, allocations: 4 kB / 0.7117 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01339, allocations: 51.91 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01339, allocations: 4 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.01348, allocations: 15.98 kB / 0.7117 GB, free: 11.17 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.0135, allocations: 12 kB / 0.7118 GB, free: 11.16 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.0001451/0.01364, allocations: 176.3 kB / 0.7119 GB, free: 10.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.01366, allocations: 27.86 kB / 0.712 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.0137, allocations: 25.95 kB / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.0137, allocations: 0 / 0.712 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.0137, allocations: 4 kB / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0137, allocations: 0 / 0.712 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.01417, allocations: 0.5393 MB / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01418, allocations: 0 / 0.7125 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.01427, allocations: 31.97 kB / 0.7125 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01428, allocations: 4 kB / 0.7125 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01429, allocations: 8 kB / 0.7126 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01429, allocations: 4 kB / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01429, allocations: 0 / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.01472, allocations: 0.4885 MB / 0.713 GB, free: 9.762 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.01475, allocations: 27.89 kB / 0.7131 GB, free: 9.734 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.01477, allocations: 4 kB / 0.7131 GB, free: 9.73 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.01485, allocations: 15.92 kB / 0.7131 GB, free: 9.715 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.01491, allocations: 23.97 kB / 0.7131 GB, free: 9.691 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01493, allocations: 15.98 kB / 0.7131 GB, free: 9.676 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.01502, allocations: 156.4 kB / 0.7133 GB, free: 9.523 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01502, allocations: 0 / 0.7133 GB, free: 9.523 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001837/0.0152, allocations: 63.88 kB / 0.7133 GB, free: 9.461 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 9.102e-05/0.01529, allocations: 117.2 kB / 0.7134 GB, free: 9.34 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.01564, allocations: 382.5 kB / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01564, allocations: 0 / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.01578, allocations: 179.2 kB / 0.714 GB, free: 8.734 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01605, allocations: 64.09 kB / 0.714 GB, free: 8.672 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.01675, allocations: 0.5915 MB / 0.7146 GB, free: 8.043 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.01683, allocations: 129.6 kB / 0.7147 GB, free: 7.895 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.01687, allocations: 20.5 kB / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of SimCode: time 4.5e-07/0.01688, allocations: 0 / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of Templates: time 0.003237/0.02011, allocations: 2.939 MB / 0.7176 GB, free: 4.961 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.203285410068929]