Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.001001/0.001001, allocations: 96.5 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.001917/0.001917, allocations: 165.8 kB / 23.2 MB, free: 1.34 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.9763/0.9763, allocations: 177.1 MB / 203.5 MB, free: 5.398 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.6938/0.6938, allocations: 291.1 MB / 0.5382 GB, free: 51.03 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.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/2.993e-05, allocations: 8.188 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.002161/0.002191, allocations: 2.301 MB / 0.6996 GB, free: 8.047 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000665/0.002856, allocations: 0.5999 MB / 0.7001 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.002935, allocations: 4 kB / 0.7001 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.754e-05/0.003033, allocations: 23.72 kB / 0.7002 GB, free: 7.418 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.003179, allocations: 83.27 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.003347, allocations: 59.86 kB / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.003527, allocations: 262.6 kB / 0.7006 GB, free: 7.02 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003641, allocations: 36.5 kB / 0.7006 GB, free: 6.988 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.003752, allocations: 139.7 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.003895, allocations: 87.7 kB / 0.7008 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.003922, allocations: 16 kB / 0.7008 GB, free: 6.75 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.003943, allocations: 16 kB / 0.7008 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.003969, allocations: 39.84 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.004023, allocations: 75.77 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004174, allocations: 195.4 kB / 0.7011 GB, free: 6.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004176, allocations: 3.938 kB / 0.7011 GB, free: 6.426 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004178, allocations: 0 / 0.7011 GB, free: 6.426 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004181, allocations: 0 / 0.7011 GB, free: 6.426 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.0005397/0.004721, allocations: 0.4891 MB / 0.7016 GB, free: 5.891 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.004756, allocations: 8.031 kB / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.004799, allocations: 24.8 kB / 0.7016 GB, free: 5.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.004968, allocations: 178.5 kB / 0.7018 GB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.004984, allocations: 12.61 kB / 0.7018 GB, free: 5.645 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.005009, allocations: 16.31 kB / 0.7018 GB, free: 5.629 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.00523, allocations: 198.5 kB / 0.702 GB, free: 5.422 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005241, allocations: 7.953 kB / 0.702 GB, free: 5.414 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.005256, allocations: 4 kB / 0.702 GB, free: 5.41 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005262, allocations: 4 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.005437, allocations: 142.3 kB / 0.7022 GB, free: 5.262 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.005895, allocations: 489.4 kB / 0.7027 GB, free: 4.75 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.006173, allocations: 180.1 kB / 0.7028 GB, free: 4.559 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/0.006273, allocations: 98.52 kB / 0.7029 GB, free: 4.453 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.006281, allocations: 0 / 0.7029 GB, free: 4.453 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.006484, allocations: 230.8 kB / 0.7031 GB, free: 4.199 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.006486, allocations: 0 / 0.7031 GB, free: 4.199 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008032/0.007289, allocations: 0.7099 MB / 0.7038 GB, free: 3.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.007322, allocations: 144.5 kB / 0.704 GB, free: 3.258 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.007437, allocations: 215 kB / 0.7042 GB, free: 3.039 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.00745, allocations: 29.7 kB / 0.7042 GB, free: 3.004 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.007496, allocations: 132.5 kB / 0.7043 GB, free: 2.871 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.007526, allocations: 71.42 kB / 0.7044 GB, free: 2.801 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.007572, allocations: 45.7 kB / 0.7044 GB, free: 2.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.007606, allocations: 342.8 kB / 0.7048 GB, free: 2.406 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.00773, allocations: 145 kB / 0.7049 GB, free: 2.246 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.007861, allocations: 217.3 kB / 0.7051 GB, free: 1.988 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.008055, allocations: 283.8 kB / 0.7054 GB, free: 1.668 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008056, allocations: 0 / 0.7054 GB, free: 1.668 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002902/0.008346, allocations: 391.9 kB / 0.7058 GB, free: 1.254 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.008377, allocations: 64.95 kB / 0.7058 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008382, allocations: 0 / 0.7058 GB, free: 1.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008397, allocations: 4.219 kB / 0.7058 GB, free: 1.176 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.008509, allocations: 59.84 kB / 0.7059 GB, free: 1.117 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.008515, allocations: 4 kB / 0.7059 GB, free: 1.113 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.0086, allocations: 19.98 kB / 0.7059 GB, free: 1.094 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.008613, allocations: 8 kB / 0.7059 GB, free: 1.086 MB / 410.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.0001218/0.008735, allocations: 184 kB / 0.7061 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.008753, allocations: 19.91 kB / 0.7061 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.008786, allocations: 33.89 kB / 0.7061 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008788, allocations: 0 / 0.7061 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.008794, allocations: 3.938 kB / 0.7061 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.008797, allocations: 0 / 0.7061 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.009202, allocations: 0.5367 MB / 0.7067 GB, free: 256 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.009204, allocations: 0 / 0.7067 GB, free: 256 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.0093, allocations: 35.97 kB / 0.7067 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009302, allocations: 0 / 0.7067 GB, free: 220 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.009313, allocations: 8 kB / 0.7067 GB, free: 212 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.009316, allocations: 7.984 kB / 0.7067 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.009318, allocations: 0 / 0.7067 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.009739, allocations: 0.499 MB / 0.7072 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.009764, allocations: 19.89 kB / 0.7072 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.009791, allocations: 8 kB / 0.7072 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.009871, allocations: 15.98 kB / 0.7072 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.009933, allocations: 19.97 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.009943, allocations: 7.984 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.01003, allocations: 164.4 kB / 0.7074 GB, free: 15.44 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01003, allocations: 0 / 0.7074 GB, free: 15.44 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001853/0.01022, allocations: 59.94 kB / 0.7075 GB, free: 15.38 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.562e-05/0.01031, allocations: 120.8 kB / 0.7076 GB, free: 15.25 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.01066, allocations: 372 kB / 0.708 GB, free: 14.85 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01066, allocations: 4.125 kB / 0.708 GB, free: 14.84 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.01088, allocations: 179 kB / 0.7081 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.01116, allocations: 64.81 kB / 0.7082 GB, free: 14.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.01189, allocations: 0.5954 MB / 0.7088 GB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.01197, allocations: 129.6 kB / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.01202, allocations: 28.42 kB / 0.7089 GB, free: 13.79 MB / 426.8 MB Notification: Performance of SimCode: time 5.91e-07/0.01202, allocations: 4 kB / 0.7089 GB, free: 13.78 MB / 426.8 MB Notification: Performance of Templates: time 0.003179/0.0152, allocations: 2.93 MB / 0.7118 GB, free: 10.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.700972503982484]