Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.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.001874/0.001874, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002084/0.002084, allocations: 174.3 kB / 22.46 MB, free: 2.102 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.705/1.705, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 293 MB / 0.5392 GB, free: 49.73 MB / 410.7 MB " [Timeout remaining time 178] 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.B01AE03_Argatroban.Argatroban_Cox2004_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.427e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act): time 0.001398/0.001422, allocations: 0.6261 MB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.936e-05/0.001472, allocations: 11.92 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.001505, allocations: 0 / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.001522, allocations: 0 / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.001548, allocations: 7.938 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.762e-05/0.001595, allocations: 7.984 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.001653, allocations: 11.94 kB / 0.7006 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.001706, allocations: 7.984 kB / 0.7006 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.001742, allocations: 4 kB / 0.7006 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.001796, allocations: 11.98 kB / 0.7006 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.001823, allocations: 3.938 kB / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-06/0.001827, allocations: 0 / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.001841, allocations: 0 / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.001864, allocations: 7.984 kB / 0.7006 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.317e-05/0.001917, allocations: 19.91 kB / 0.7006 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.001919, allocations: 4 kB / 0.7006 GB, free: 7.859 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001919, allocations: 0 / 0.7006 GB, free: 7.859 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.001924, allocations: 0 / 0.7006 GB, free: 7.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003363/0.00226, allocations: 258.3 kB / 0.7009 GB, free: 7.574 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.002296, allocations: 11.97 kB / 0.7009 GB, free: 7.562 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.002326, allocations: 0.9375 kB / 0.7009 GB, free: 7.562 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.38e-05/0.0024, allocations: 113.8 kB / 0.701 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.002412, allocations: 384 / 0.701 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.002421, allocations: 4.375 kB / 0.701 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.727e-05/0.002509, allocations: 38.25 kB / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.002518, allocations: 4.125 kB / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.002527, allocations: 4.375 kB / 0.701 GB, free: 7.371 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.002532, allocations: 384 / 0.701 GB, free: 7.371 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.002581, allocations: 19.92 kB / 0.701 GB, free: 7.352 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.002697, allocations: 105.3 kB / 0.7011 GB, free: 7.219 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.002871, allocations: 38.64 kB / 0.7012 GB, free: 7.172 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.002909, allocations: 20.98 kB / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.002923, allocations: 0 / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.002935, allocations: 34.5 kB / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.002936, allocations: 4 kB / 0.7012 GB, free: 7.102 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001422/0.003078, allocations: 53.69 kB / 0.7013 GB, free: 7.043 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.003119, allocations: 51.41 kB / 0.7013 GB, free: 6.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.872e-05/0.003167, allocations: 105.8 kB / 0.7014 GB, free: 6.867 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-06/0.003174, allocations: 25.7 kB / 0.7015 GB, free: 6.836 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.0032, allocations: 88.12 kB / 0.7015 GB, free: 6.746 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.003222, allocations: 11.91 kB / 0.7016 GB, free: 6.734 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.00325, allocations: 13.72 kB / 0.7016 GB, free: 6.715 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.003297, allocations: 314.8 kB / 0.7019 GB, free: 6.398 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.003315, allocations: 11.98 kB / 0.7019 GB, free: 6.387 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.003327, allocations: 4 kB / 0.7019 GB, free: 6.383 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.003362, allocations: 25.06 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003364, allocations: 4 kB / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.789e-05/0.003422, allocations: 49.69 kB / 0.702 GB, free: 6.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.003432, allocations: 4 kB / 0.702 GB, free: 6.293 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.003437, allocations: 0 / 0.702 GB, free: 6.293 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.003451, allocations: 0 / 0.702 GB, free: 6.293 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.003497, allocations: 8 kB / 0.702 GB, free: 6.285 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.003501, allocations: 0 / 0.702 GB, free: 6.285 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.003526, allocations: 15.83 kB / 0.702 GB, free: 6.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.00353, allocations: 3.938 kB / 0.702 GB, free: 6.266 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 4.491e-05/0.003575, allocations: 117.8 kB / 0.7021 GB, free: 6.141 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.003582, allocations: 7.938 kB / 0.7021 GB, free: 6.133 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.003601, allocations: 7.688 kB / 0.7021 GB, free: 6.125 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.003602, allocations: 4 kB / 0.7021 GB, free: 6.121 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.003605, allocations: 0 / 0.7021 GB, free: 6.121 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.003608, allocations: 3.938 kB / 0.7021 GB, free: 6.117 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.189e-05/0.00366, allocations: 101.3 kB / 0.7022 GB, free: 5.988 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.003662, allocations: 3.984 kB / 0.7022 GB, free: 5.984 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.003698, allocations: 8 kB / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.0037, allocations: 256 / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.003706, allocations: 0 / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.003707, allocations: 4 kB / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003708, allocations: 4 kB / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.246e-05/0.00378, allocations: 81.02 kB / 0.7023 GB, free: 5.871 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.003786, allocations: 4 kB / 0.7023 GB, free: 5.867 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.003796, allocations: 0 / 0.7023 GB, free: 5.867 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.003816, allocations: 0 / 0.7023 GB, free: 5.867 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.003833, allocations: 7.922 kB / 0.7023 GB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.003836, allocations: 4 kB / 0.7023 GB, free: 5.855 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.92e-05/0.003855, allocations: 83.28 kB / 0.7024 GB, free: 5.773 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.003855, allocations: 0 / 0.7024 GB, free: 5.773 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001798/0.004035, allocations: 7.938 kB / 0.7024 GB, free: 5.766 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.475e-05/0.004109, allocations: 103.2 kB / 0.7025 GB, free: 5.656 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.004194, allocations: 19.98 kB / 0.7025 GB, free: 5.637 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004196, allocations: 0 / 0.7025 GB, free: 5.637 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.947e-05/0.004215, allocations: 11.94 kB / 0.7026 GB, free: 5.625 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.004352, allocations: 4 kB / 0.7026 GB, free: 5.621 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.004572, allocations: 116.8 kB / 0.7027 GB, free: 5.48 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.0046, allocations: 55.36 kB / 0.7027 GB, free: 5.406 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.004624, allocations: 7.984 kB / 0.7027 GB, free: 5.398 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.004646, allocations: 12.5 kB / 0.7027 GB, free: 5.387 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.004646, allocations: 0 / 0.7027 GB, free: 5.387 MB / 410.8 MB Notification: Performance of Templates: time 0.002628/0.007274, allocations: 409 kB / 0.7031 GB, free: 5.039 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2788660840597]