Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_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.00245/0.00245, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002804/0.002804, allocations: 214.4 kB / 22.25 MB, free: 3.582 MB / 13.93 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.757/1.757, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.392/1.392, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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_Akimoto2011_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003884/0.003884, allocations: 73.58 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1438, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act): time 0.001957/0.1458, allocations: 0.6267 MB / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.087e-05/0.1458, allocations: 8.531 kB / 0.8478 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.1458, allocations: 0 / 0.8478 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.1458, allocations: 0.6562 kB / 0.8478 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.1459, allocations: 4.562 kB / 0.8478 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.261e-05/0.1459, allocations: 7.984 kB / 0.8478 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.146, allocations: 16.47 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.1461, allocations: 4.656 kB / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.1461, allocations: 7.938 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.1461, allocations: 8.484 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1461, allocations: 0.6562 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.1462, allocations: 0 / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1462, allocations: 8.562 kB / 0.8479 GB, free: 4.211 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.1462, allocations: 11.92 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.007e-05/0.1462, allocations: 4.625 kB / 0.8479 GB, free: 4.195 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1463, allocations: 0.6562 kB / 0.8479 GB, free: 4.195 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1463, allocations: 0 / 0.8479 GB, free: 4.195 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1463, allocations: 4.641 kB / 0.8479 GB, free: 4.191 MB / 474.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.0004529/0.1467, allocations: 254.9 kB / 0.8482 GB, free: 3.91 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1468, allocations: 8.031 kB / 0.8482 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1468, allocations: 5.594 kB / 0.8482 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1469, allocations: 119 kB / 0.8483 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1469, allocations: 8.312 kB / 0.8483 GB, free: 3.75 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1469, allocations: 4.938 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.147, allocations: 38.23 kB / 0.8483 GB, free: 3.703 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1471, allocations: 9.281 kB / 0.8483 GB, free: 3.695 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1471, allocations: 3.938 kB / 0.8483 GB, free: 3.691 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1471, allocations: 0 / 0.8483 GB, free: 3.691 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.1471, allocations: 13.84 kB / 0.8484 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1473, allocations: 105.3 kB / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1475, allocations: 50.58 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.1475, allocations: 8.859 kB / 0.8485 GB, free: 3.477 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1475, allocations: 4.562 kB / 0.8485 GB, free: 3.473 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1476, allocations: 37 kB / 0.8486 GB, free: 3.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1476, allocations: 0 / 0.8486 GB, free: 3.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.1477, allocations: 57.77 kB / 0.8486 GB, free: 3.367 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1478, allocations: 59.34 kB / 0.8487 GB, free: 3.297 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.1479, allocations: 101.8 kB / 0.8488 GB, free: 3.188 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1479, allocations: 25.7 kB / 0.8488 GB, free: 3.156 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.1479, allocations: 80.14 kB / 0.8489 GB, free: 3.074 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.148, allocations: 17.81 kB / 0.8489 GB, free: 3.059 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.148, allocations: 17.7 kB / 0.8489 GB, free: 3.035 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1482, allocations: 314.8 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.1482, allocations: 4 kB / 0.8492 GB, free: 2.715 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.1482, allocations: 4 kB / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.1483, allocations: 30.12 kB / 0.8492 GB, free: 2.68 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1483, allocations: 0 / 0.8492 GB, free: 2.68 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.215e-05/0.1483, allocations: 45.64 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1484, allocations: 12.52 kB / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1484, allocations: 0 / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1484, allocations: 5.094 kB / 0.8493 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1484, allocations: 4 kB / 0.8493 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1484, allocations: 0 / 0.8493 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.1485, allocations: 4.547 kB / 0.8493 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1485, allocations: 4.5 kB / 0.8493 GB, free: 2.602 MB / 474.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 9.179e-05/0.1486, allocations: 111.6 kB / 0.8494 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.1486, allocations: 4 kB / 0.8494 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.1486, allocations: 12.48 kB / 0.8494 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1486, allocations: 4.594 kB / 0.8494 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.1486, allocations: 3.984 kB / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1486, allocations: 4.547 kB / 0.8494 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1487, allocations: 106 kB / 0.8495 GB, free: 2.324 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1487, allocations: 0 / 0.8495 GB, free: 2.324 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.1488, allocations: 8.625 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1488, allocations: 0 / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1488, allocations: 0.5 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1488, allocations: 8.797 kB / 0.8496 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1488, allocations: 3.938 kB / 0.8496 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.1489, allocations: 81.52 kB / 0.8496 GB, free: 2.207 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.1489, allocations: 4.719 kB / 0.8496 GB, free: 2.203 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1489, allocations: 0 / 0.8496 GB, free: 2.203 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.1489, allocations: 4.625 kB / 0.8497 GB, free: 2.199 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.149, allocations: 3.938 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.149, allocations: 1.875 kB / 0.8497 GB, free: 2.195 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.149, allocations: 87.2 kB / 0.8497 GB, free: 2.109 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.149, allocations: 0 / 0.8497 GB, free: 2.109 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001693/0.1492, allocations: 8 kB / 0.8497 GB, free: 2.102 MB / 474.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 0.0001201/0.1493, allocations: 103.8 kB / 0.8498 GB, free: 1.992 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.1494, allocations: 23.92 kB / 0.8499 GB, free: 1.969 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1494, allocations: 0 / 0.8499 GB, free: 1.969 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.1494, allocations: 8 kB / 0.8499 GB, free: 1.961 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1496, allocations: 7.516 kB / 0.8499 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.1498, allocations: 113.8 kB / 0.85 GB, free: 1.82 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.1499, allocations: 63.91 kB / 0.8501 GB, free: 1.738 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.544e-05/0.1499, allocations: 0 / 0.8501 GB, free: 1.738 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.1499, allocations: 12.41 kB / 0.8501 GB, free: 1.727 MB / 474.8 MB Notification: Performance of SimCode: time 3.91e-07/0.1499, allocations: 0 / 0.8501 GB, free: 1.727 MB / 474.8 MB Notification: Performance of Templates: time 0.003158/0.1531, allocations: 418.6 kB / 0.8505 GB, free: 1.387 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_act.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2838802030310035]