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_aptt.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.0009997/0.0009997, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001053/0.001053, allocations: 220.4 kB / 23.01 MB, free: 2.965 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.018/1.018, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7921/0.7921, allocations: 312.3 MB / 0.6109 GB, free: 97.09 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.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") [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.001428/0.001428, allocations: 75.66 kB / 0.7699 GB, free: 19.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1422, allocations: 73.98 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt): time 0.001564/0.1438, allocations: 0.6262 MB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.113e-05/0.1438, allocations: 16.52 kB / 0.8428 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.1438, allocations: 0 / 0.8428 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.1439, allocations: 0.625 kB / 0.8428 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.1439, allocations: 3.938 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.177e-05/0.144, allocations: 0.6875 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.144, allocations: 16.52 kB / 0.8428 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.1441, allocations: 3.938 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.1441, allocations: 12.61 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.1442, allocations: 12.52 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1442, allocations: 0 / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.1442, allocations: 0.5625 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.1442, allocations: 7.938 kB / 0.8428 GB, free: 9.195 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1442, allocations: 8.484 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.734e-05/0.1443, allocations: 16.42 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1443, allocations: 0.6875 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1443, allocations: 0 / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1443, allocations: 0.5938 kB / 0.8428 GB, free: 9.172 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.0003401/0.1447, allocations: 258.9 kB / 0.8431 GB, free: 8.887 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1447, allocations: 8.031 kB / 0.8431 GB, free: 8.879 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1447, allocations: 5.562 kB / 0.8431 GB, free: 8.875 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.1448, allocations: 111.1 kB / 0.8432 GB, free: 8.742 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1448, allocations: 4.375 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1449, allocations: 0.9375 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.145, allocations: 34.27 kB / 0.8433 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.145, allocations: 0.75 kB / 0.8433 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.145, allocations: 16.48 kB / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.145, allocations: 0 / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.145, allocations: 12.53 kB / 0.8433 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1451, allocations: 110 kB / 0.8434 GB, free: 8.535 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1453, allocations: 42.73 kB / 0.8434 GB, free: 8.484 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.1454, allocations: 17.56 kB / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1454, allocations: 0.7188 kB / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1454, allocations: 34.56 kB / 0.8435 GB, free: 8.422 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1454, allocations: 0.5 kB / 0.8435 GB, free: 8.422 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.1456, allocations: 62.28 kB / 0.8435 GB, free: 8.355 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1456, allocations: 51.41 kB / 0.8436 GB, free: 8.293 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.1456, allocations: 106.3 kB / 0.8437 GB, free: 8.18 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.1457, allocations: 26.3 kB / 0.8437 GB, free: 8.148 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.1457, allocations: 80.14 kB / 0.8438 GB, free: 8.066 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1457, allocations: 16.41 kB / 0.8438 GB, free: 8.051 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.1457, allocations: 18.41 kB / 0.8438 GB, free: 8.027 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.1458, allocations: 318.8 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.1458, allocations: 8.75 kB / 0.8441 GB, free: 7.699 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.1458, allocations: 4 kB / 0.8441 GB, free: 7.695 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.1459, allocations: 25.55 kB / 0.8442 GB, free: 7.668 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1459, allocations: 0.625 kB / 0.8442 GB, free: 7.668 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.5e-05/0.1459, allocations: 53.62 kB / 0.8442 GB, free: 7.609 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1459, allocations: 4.656 kB / 0.8442 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1459, allocations: 4 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.146, allocations: 4.531 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.146, allocations: 8.734 kB / 0.8442 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.146, allocations: 0 / 0.8442 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.146, allocations: 4.547 kB / 0.8442 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.146, allocations: 4 kB / 0.8442 GB, free: 7.582 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 5.754e-05/0.1461, allocations: 107.5 kB / 0.8443 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-06/0.1461, allocations: 4.625 kB / 0.8444 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.1461, allocations: 8.469 kB / 0.8444 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1461, allocations: 3.938 kB / 0.8444 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1461, allocations: 0 / 0.8444 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1461, allocations: 0.625 kB / 0.8444 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.483e-05/0.1462, allocations: 114 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-07/0.1462, allocations: 0 / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.1462, allocations: 8.5 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1462, allocations: 0 / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1462, allocations: 0.6562 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1462, allocations: 4.688 kB / 0.8445 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1462, allocations: 7.922 kB / 0.8445 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.1463, allocations: 81.91 kB / 0.8446 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.1463, allocations: 48 / 0.8446 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1463, allocations: 8.594 kB / 0.8446 GB, free: 7.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.1463, allocations: 8 kB / 0.8446 GB, free: 7.18 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.1463, allocations: 4.438 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1463, allocations: 0.625 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.545e-05/0.1464, allocations: 79.28 kB / 0.8447 GB, free: 7.098 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 0.5 kB / 0.8447 GB, free: 7.098 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001069/0.1465, allocations: 4.656 kB / 0.8447 GB, free: 7.094 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 9.973e-05/0.1466, allocations: 112 kB / 0.8448 GB, free: 6.973 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.1466, allocations: 16.62 kB / 0.8448 GB, free: 6.957 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1466, allocations: 0 / 0.8448 GB, free: 6.957 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.1467, allocations: 16.58 kB / 0.8448 GB, free: 6.941 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.1468, allocations: 3.031 kB / 0.8448 GB, free: 6.941 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.147, allocations: 147.2 kB / 0.845 GB, free: 6.766 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.1471, allocations: 63.97 kB / 0.845 GB, free: 6.684 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.1471, allocations: 7.438 kB / 0.845 GB, free: 6.676 MB / 474.8 MB Notification: Performance of SimCode: time 3.9e-07/0.1471, allocations: 0.6562 kB / 0.845 GB, free: 6.676 MB / 474.8 MB Notification: Performance of Templates: time 0.001425/0.1485, allocations: 0.5164 MB / 0.8455 GB, free: 6.18 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.978269592858851]