Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.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.001476/0.001476, allocations: 104.4 kB / 19.71 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.001175/0.001175, allocations: 217.8 kB / 23 MB, free: 2.953 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/1, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8252/0.8252, allocations: 312.3 MB / 0.6108 GB, free: 97.63 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.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference") [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.002466/0.002466, allocations: 66.64 kB / 0.7698 GB, free: 20.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.142, allocations: 74 MB / 0.8421 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference): time 0.00293/0.1449, allocations: 2.286 MB / 0.8443 GB, free: 8.086 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.1501, allocations: 6.532 MB / 0.8507 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1502, allocations: 0.5938 kB / 0.8507 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.1503, allocations: 28.34 kB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1505, allocations: 84.02 kB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1507, allocations: 44.69 kB / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1509, allocations: 263.3 kB / 0.8511 GB, free: 1.141 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1511, allocations: 36.58 kB / 0.8512 GB, free: 1.105 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1512, allocations: 92.25 kB / 0.8512 GB, free: 1.016 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1513, allocations: 104.1 kB / 0.8513 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1514, allocations: 16 kB / 0.8514 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.1514, allocations: 16.62 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.1514, allocations: 36.41 kB / 0.8514 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.1515, allocations: 95.58 kB / 0.8515 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1517, allocations: 195.8 kB / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1517, allocations: 0.5 kB / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1517, allocations: 0 / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1517, allocations: 0.5938 kB / 0.8517 GB, free: 0.5625 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.0006765/0.1524, allocations: 0.4909 MB / 0.8522 GB, free: 28 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1524, allocations: 8.031 kB / 0.8522 GB, free: 20 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1525, allocations: 23.34 kB / 0.8522 GB, free: 16 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1527, allocations: 187.1 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1527, allocations: 11.3 kB / 0.8524 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1527, allocations: 12.62 kB / 0.8524 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.153, allocations: 195 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.153, allocations: 3.938 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.153, allocations: 8.688 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.153, allocations: 4 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.1532, allocations: 147.7 kB / 0.8527 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.1537, allocations: 490.1 kB / 0.8532 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1541, allocations: 177.2 kB / 0.8534 GB, free: 14.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1542, allocations: 99.61 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1542, allocations: 0.5938 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1544, allocations: 217.2 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.1544, allocations: 0.5 kB / 0.8537 GB, free: 14.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009873/0.1554, allocations: 0.7051 MB / 0.8544 GB, free: 13.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1555, allocations: 140.5 kB / 0.8545 GB, free: 13.41 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1557, allocations: 211.6 kB / 0.8547 GB, free: 13.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1557, allocations: 34.33 kB / 0.8547 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.1557, allocations: 136.4 kB / 0.8549 GB, free: 13.02 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1558, allocations: 68.06 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1558, allocations: 53.7 kB / 0.855 GB, free: 12.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.1559, allocations: 339.4 kB / 0.8553 GB, free: 12.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1561, allocations: 141.5 kB / 0.8554 GB, free: 12.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1562, allocations: 222 kB / 0.8557 GB, free: 12.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3235/0.4798, allocations: 276.8 kB / 0.8559 GB, free: 30.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.4798, allocations: 1.406 kB / 0.8559 GB, free: 30.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005332/0.4803, allocations: 405.1 kB / 0.8563 GB, free: 30.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.4804, allocations: 59.5 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4804, allocations: 1.031 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.4804, allocations: 7.641 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4806, allocations: 57.61 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4806, allocations: 2.25 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.4807, allocations: 14.58 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.4807, allocations: 16.95 kB / 0.8565 GB, free: 30.13 MB / 490.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.0002307/0.481, allocations: 171.1 kB / 0.8566 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.481, allocations: 25.83 kB / 0.8566 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.481, allocations: 29.7 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.481, allocations: 1.969 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.481, allocations: 0.5 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4811, allocations: 0 / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.4816, allocations: 0.536 MB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4816, allocations: 1.5 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.4818, allocations: 37.11 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4818, allocations: 3.938 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4818, allocations: 8.891 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4818, allocations: 0 / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4818, allocations: 6.375 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.4823, allocations: 0.4951 MB / 0.8577 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.4823, allocations: 24.06 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.4824, allocations: 7.094 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.4825, allocations: 20.67 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.4826, allocations: 20.39 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4826, allocations: 5.906 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4827, allocations: 156.4 kB / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4827, allocations: 4.484 kB / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002148/0.4829, allocations: 61.66 kB / 0.858 GB, free: 29.37 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 0.0001266/0.483, allocations: 114.2 kB / 0.8581 GB, free: 29.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.4834, allocations: 378.1 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4834, allocations: 2 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4836, allocations: 171.2 kB / 0.8587 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.4839, allocations: 69.45 kB / 0.8587 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.485, allocations: 0.699 MB / 0.8594 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.273e-05/0.4851, allocations: 128.4 kB / 0.8595 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.4852, allocations: 24.12 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of SimCode: time 1.072e-06/0.4852, allocations: 0.7812 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of Templates: time 0.00553/0.4907, allocations: 2.941 MB / 0.8624 GB, free: 28.38 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.435238774865866]