Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.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.001041/0.001041, allocations: 100.4 kB / 19.7 MB, free: 440 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.001538/0.001538, allocations: 216.4 kB / 23 MB, free: 2.945 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 0.9761/0.9761, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7695/0.7695, allocations: 312.3 MB / 0.6109 GB, free: 97.01 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.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii") [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.001886/0.001886, allocations: 77.56 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1176, allocations: 73.99 MB / 0.8422 GB, free: 9.805 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii): time 0.002605/0.1202, allocations: 2.309 MB / 0.8444 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.1209, allocations: 0.5831 MB / 0.845 GB, free: 6.922 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.121, allocations: 4.625 kB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1211, allocations: 23.72 kB / 0.845 GB, free: 6.895 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1213, allocations: 84.53 kB / 0.8451 GB, free: 6.812 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1215, allocations: 52.56 kB / 0.8452 GB, free: 6.762 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.1218, allocations: 255.4 kB / 0.8454 GB, free: 6.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1219, allocations: 39.8 kB / 0.8454 GB, free: 6.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.122, allocations: 96.31 kB / 0.8455 GB, free: 6.383 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1221, allocations: 100 kB / 0.8456 GB, free: 6.285 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1222, allocations: 16 kB / 0.8456 GB, free: 6.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.442e-05/0.1222, allocations: 16.72 kB / 0.8457 GB, free: 6.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.1222, allocations: 36.58 kB / 0.8457 GB, free: 6.219 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1223, allocations: 95.52 kB / 0.8458 GB, free: 6.125 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1225, allocations: 203.7 kB / 0.846 GB, free: 5.926 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1225, allocations: 0 / 0.846 GB, free: 5.926 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1225, allocations: 4.719 kB / 0.846 GB, free: 5.922 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1225, allocations: 3.938 kB / 0.846 GB, free: 5.918 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005962/0.1231, allocations: 498.7 kB / 0.8465 GB, free: 5.387 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1231, allocations: 12.03 kB / 0.8465 GB, free: 5.375 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.1232, allocations: 21.39 kB / 0.8465 GB, free: 5.355 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1233, allocations: 187.8 kB / 0.8467 GB, free: 5.145 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1234, allocations: 8.609 kB / 0.8467 GB, free: 5.137 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1234, allocations: 20.52 kB / 0.8467 GB, free: 5.117 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1236, allocations: 191.1 kB / 0.8469 GB, free: 4.914 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1236, allocations: 0.625 kB / 0.8469 GB, free: 4.914 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1236, allocations: 4 kB / 0.8469 GB, free: 4.91 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1237, allocations: 4.594 kB / 0.8469 GB, free: 4.906 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1238, allocations: 150.9 kB / 0.847 GB, free: 4.754 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1244, allocations: 482.6 kB / 0.8475 GB, free: 4.25 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.1247, allocations: 177.9 kB / 0.8477 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1248, allocations: 95.05 kB / 0.8478 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1248, allocations: 0 / 0.8478 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.1251, allocations: 229.7 kB / 0.848 GB, free: 3.707 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.1251, allocations: 0.625 kB / 0.848 GB, free: 3.707 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009583/0.126, allocations: 0.6968 MB / 0.8487 GB, free: 2.949 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.1261, allocations: 132.5 kB / 0.8488 GB, free: 2.789 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1262, allocations: 219.5 kB / 0.849 GB, free: 2.566 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1263, allocations: 38.31 kB / 0.849 GB, free: 2.523 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.1263, allocations: 128.5 kB / 0.8491 GB, free: 2.395 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.1264, allocations: 76.06 kB / 0.8492 GB, free: 2.32 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.1264, allocations: 62.22 kB / 0.8493 GB, free: 2.254 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.1265, allocations: 334.8 kB / 0.8496 GB, free: 1.918 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1267, allocations: 145.5 kB / 0.8497 GB, free: 1.758 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1268, allocations: 223.1 kB / 0.85 GB, free: 1.496 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.1271, allocations: 278.3 kB / 0.8502 GB, free: 1.184 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1271, allocations: 4.781 kB / 0.8502 GB, free: 1.18 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003708/0.1275, allocations: 385 kB / 0.8506 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.1275, allocations: 71.83 kB / 0.8507 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1275, allocations: 4 kB / 0.8507 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1275, allocations: 0.5 kB / 0.8507 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1277, allocations: 52.53 kB / 0.8507 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1277, allocations: 0.6875 kB / 0.8507 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.1277, allocations: 20.52 kB / 0.8507 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1278, allocations: 15.94 kB / 0.8507 GB, free: 0.6055 MB / 474.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001546/0.1279, allocations: 180.8 kB / 0.8509 GB, free: 428 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1279, allocations: 31.73 kB / 0.8509 GB, free: 396 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.128, allocations: 30.48 kB / 0.851 GB, free: 360 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.128, allocations: 0.625 kB / 0.851 GB, free: 360 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.128, allocations: 0 / 0.851 GB, free: 360 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.128, allocations: 4.531 kB / 0.851 GB, free: 356 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.1285, allocations: 0.5328 MB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1285, allocations: 0 / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1286, allocations: 36.91 kB / 0.8515 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1286, allocations: 4 kB / 0.8515 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1286, allocations: 4 kB / 0.8515 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1286, allocations: 9.969 kB / 0.8516 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1286, allocations: 0 / 0.8516 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.129, allocations: 496.8 kB / 0.852 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.1291, allocations: 22.08 kB / 0.8521 GB, free: 15.18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1291, allocations: 8 kB / 0.8521 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.1292, allocations: 15.92 kB / 0.8521 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1292, allocations: 19.97 kB / 0.8521 GB, free: 15.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1292, allocations: 15.92 kB / 0.8521 GB, free: 15.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.1293, allocations: 161.3 kB / 0.8523 GB, free: 14.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1293, allocations: 0 / 0.8523 GB, free: 14.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001823/0.1295, allocations: 52.66 kB / 0.8523 GB, free: 14.91 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 8.581e-05/0.1296, allocations: 119 kB / 0.8524 GB, free: 14.79 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1299, allocations: 379 kB / 0.8528 GB, free: 14.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1299, allocations: 0 / 0.8528 GB, free: 14.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1301, allocations: 174.1 kB / 0.853 GB, free: 14.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1303, allocations: 74.47 kB / 0.853 GB, free: 14.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/0.1312, allocations: 0.707 MB / 0.8537 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.744e-05/0.1312, allocations: 129.6 kB / 0.8538 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.1313, allocations: 19.44 kB / 0.8539 GB, free: 13.3 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.1313, allocations: 0 / 0.8539 GB, free: 13.3 MB / 490.8 MB Notification: Performance of Templates: time 0.2398/0.3711, allocations: 2.921 MB / 0.8567 GB, free: 28.82 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.486718428321183]