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.001409/0.001409, allocations: 104.4 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.001106/0.001106, allocations: 215.5 kB / 23 MB, free: 2.938 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.053/1.053, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7689/0.7689, allocations: 312.3 MB / 0.6108 GB, free: 97.18 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_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: 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.001736/0.001736, allocations: 77.61 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1535, allocations: 73.99 MB / 0.8421 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act): time 0.001826/0.1553, allocations: 0.6301 MB / 0.8427 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.108e-05/0.1554, allocations: 16.45 kB / 0.8427 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1554, allocations: 0.6562 kB / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1554, allocations: 0 / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.1555, allocations: 4.562 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.033e-05/0.1555, allocations: 0 / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.1556, allocations: 16.58 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.1557, allocations: 4.562 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.1557, allocations: 4 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1558, allocations: 16.64 kB / 0.8428 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1558, allocations: 0 / 0.8428 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-06/0.1558, allocations: 0.6562 kB / 0.8428 GB, free: 9.164 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.1558, allocations: 3.984 kB / 0.8428 GB, free: 9.16 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.1558, allocations: 12.52 kB / 0.8428 GB, free: 9.148 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 8.367e-05/0.1559, allocations: 16.64 kB / 0.8428 GB, free: 9.133 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1559, allocations: 0 / 0.8428 GB, free: 9.133 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1559, allocations: 0.625 kB / 0.8428 GB, free: 9.133 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.156, allocations: 3.938 kB / 0.8428 GB, free: 9.129 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.0004072/0.1564, allocations: 259 kB / 0.8431 GB, free: 8.844 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1564, allocations: 8.625 kB / 0.8431 GB, free: 8.836 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1564, allocations: 4.938 kB / 0.8431 GB, free: 8.832 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1566, allocations: 107.2 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1566, allocations: 0.9688 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.1566, allocations: 4.375 kB / 0.8432 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1567, allocations: 42.83 kB / 0.8432 GB, free: 8.652 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1567, allocations: 192 / 0.8432 GB, free: 8.652 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1567, allocations: 4.438 kB / 0.8432 GB, free: 8.648 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1567, allocations: 4.625 kB / 0.8432 GB, free: 8.645 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.1568, allocations: 11.98 kB / 0.8433 GB, free: 8.633 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1569, allocations: 109.9 kB / 0.8434 GB, free: 8.496 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1571, allocations: 43.27 kB / 0.8434 GB, free: 8.445 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.1572, allocations: 17.64 kB / 0.8434 GB, free: 8.426 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1572, allocations: 0 / 0.8434 GB, free: 8.426 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1572, allocations: 35.19 kB / 0.8435 GB, free: 8.383 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.1572, allocations: 0.625 kB / 0.8435 GB, free: 8.383 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.1574, allocations: 61.56 kB / 0.8435 GB, free: 8.316 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1574, allocations: 52 kB / 0.8436 GB, free: 8.254 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.1575, allocations: 97.86 kB / 0.8437 GB, free: 8.148 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1575, allocations: 30.33 kB / 0.8437 GB, free: 8.113 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1575, allocations: 84.75 kB / 0.8438 GB, free: 8.027 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.1576, allocations: 19.78 kB / 0.8438 GB, free: 8.008 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1576, allocations: 18.28 kB / 0.8438 GB, free: 7.984 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.1577, allocations: 315.3 kB / 0.8441 GB, free: 7.668 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.1577, allocations: 12.23 kB / 0.8441 GB, free: 7.656 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.1577, allocations: 4.656 kB / 0.8441 GB, free: 7.652 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.1577, allocations: 20.86 kB / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1577, allocations: 0.5625 kB / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.929e-05/0.1578, allocations: 58.22 kB / 0.8442 GB, free: 7.566 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1578, allocations: 6.188 kB / 0.8442 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1578, allocations: 0.625 kB / 0.8442 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.1579, allocations: 8.562 kB / 0.8442 GB, free: 7.555 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.1579, allocations: 4 kB / 0.8442 GB, free: 7.551 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1579, allocations: 0.7812 kB / 0.8442 GB, free: 7.551 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.1579, allocations: 3.953 kB / 0.8442 GB, free: 7.547 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.158, allocations: 4.531 kB / 0.8442 GB, free: 7.543 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 6.576e-05/0.158, allocations: 112 kB / 0.8443 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.158, allocations: 0.5 kB / 0.8443 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.158, allocations: 12.02 kB / 0.8443 GB, free: 7.414 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1581, allocations: 4.562 kB / 0.8443 GB, free: 7.41 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1581, allocations: 0.5938 kB / 0.8443 GB, free: 7.41 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1581, allocations: 3.984 kB / 0.8444 GB, free: 7.406 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.908e-05/0.1581, allocations: 110 kB / 0.8445 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1581, allocations: 3.984 kB / 0.8445 GB, free: 7.266 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.1582, allocations: 4.594 kB / 0.8445 GB, free: 7.262 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1582, allocations: 4.438 kB / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1582, allocations: 0 / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.1582, allocations: 0.625 kB / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1582, allocations: 4.625 kB / 0.8445 GB, free: 7.254 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.758e-05/0.1583, allocations: 81.08 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.1583, allocations: 0.5938 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1583, allocations: 0 / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.1583, allocations: 0.7188 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.1583, allocations: 11.92 kB / 0.8446 GB, free: 7.145 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1583, allocations: 4.656 kB / 0.8446 GB, free: 7.141 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.1583, allocations: 80 kB / 0.8446 GB, free: 7.062 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1583, allocations: 0 / 0.8446 GB, free: 7.062 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001083/0.1584, allocations: 4.75 kB / 0.8446 GB, free: 7.059 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.0001013/0.1585, allocations: 99.75 kB / 0.8447 GB, free: 6.949 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.1586, allocations: 28.36 kB / 0.8448 GB, free: 6.922 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1586, allocations: 0 / 0.8448 GB, free: 6.922 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.1587, allocations: 12.62 kB / 0.8448 GB, free: 6.91 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1588, allocations: 4.438 kB / 0.8448 GB, free: 6.906 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.1591, allocations: 143.1 kB / 0.8449 GB, free: 6.734 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.1591, allocations: 59.86 kB / 0.845 GB, free: 6.656 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1592, allocations: 11.97 kB / 0.845 GB, free: 6.645 MB / 474.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1592, allocations: 0.75 kB / 0.845 GB, free: 6.645 MB / 474.8 MB Notification: Performance of Templates: time 0.001666/0.1608, allocations: 0.5188 MB / 0.8455 GB, free: 6.145 MB / 474.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 > 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.440068584866822]