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.000605/0.000605, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009018/0.001507, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001098/0.001098, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002466, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.014/1.014, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0969/1.111, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.7633/0.7633, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02562/0.7889, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.357e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt): time 0.001269/0.001282, allocations: 0.6913 MB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.371e-05/0.001316, allocations: 19.91 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.001335, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.33e-06/0.00134, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.215e-05/0.001353, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.697e-05/0.001379, allocations: 3.984 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.001431, allocations: 15.94 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.001469, allocations: 3.938 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.001521, allocations: 15.98 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.001574, allocations: 3.984 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.001595, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-06/0.001601, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.001612, allocations: 7.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.001632, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.348e-05/0.001685, allocations: 11.97 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.0017, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001701, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.001713, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 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.0002698/0.001983, allocations: 235.1 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.002009, allocations: 11.89 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.00203, allocations: 0.9375 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.701e-05/0.002087, allocations: 117.7 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.002102, allocations: 12.31 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.002109, allocations: 384 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.934e-05/0.002178, allocations: 34.25 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.002186, allocations: 192 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.002192, allocations: 4.375 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002198, allocations: 4.312 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.002221, allocations: 11.92 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.906e-05/0.00231, allocations: 61.05 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.00248, allocations: 46.53 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.0025, allocations: 12.86 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.002506, allocations: 0 / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.002522, allocations: 42.64 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.002523, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.352e-05/0.002606, allocations: 41.69 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.00263, allocations: 51.41 kB / 0.5459 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.07e-05/0.00267, allocations: 106.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.002676, allocations: 25.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-06/0.002686, allocations: 80.14 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.002713, allocations: 23.83 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.002745, allocations: 13.7 kB / 0.5461 GB, free: 28.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.002774, allocations: 322.8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.002787, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.002795, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.002818, allocations: 16.84 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00282, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.578e-05/0.002866, allocations: 41.69 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.002877, allocations: 4 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.002881, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.00289, allocations: 4 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.002932, allocations: 11.06 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.002934, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.002948, allocations: 11.98 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-06/0.002951, allocations: 4 kB / 0.5465 GB, free: 28.35 MB / 410.7 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 3.007e-05/0.002981, allocations: 113.7 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-06/0.002986, allocations: 4 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.003001, allocations: 7.688 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.003003, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.003004, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.003007, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.216e-05/0.003049, allocations: 77.81 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.00305, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.003064, allocations: 15.94 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.003069, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.00307, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-06/0.003073, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003073, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.003074, allocations: 4 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.127e-05/0.003116, allocations: 73 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-06/0.003124, allocations: 3.984 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.003131, allocations: 384 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.00314, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.003142, allocations: 4 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.466e-06/0.00315, allocations: 16.23 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00315, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.811e-05/0.003238, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 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 5.177e-05/0.00329, allocations: 95.39 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.181e-05/0.003342, allocations: 20.78 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.003346, allocations: 8 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.003354, allocations: 8.859 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.574e-05/0.00341, allocations: 13.89 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.003571, allocations: 150.1 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.374e-05/0.003595, allocations: 63.34 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.003622, allocations: 51.38 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.003622, allocations: 0 / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001042/0.004664, allocations: 0.5174 MB / 0.5477 GB, free: 27.02 MB / 410.7 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: 4.014817929826677]