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.001905/0.001905, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002019/0.002019, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.754/1.754, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] 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 1.477/1.477, allocations: 316.7 MB / 0.6144 GB, free: 93.42 MB / 410.7 MB " [Timeout remaining time 178] 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.004043/0.004043, allocations: 77.92 kB / 0.775 GB, free: 15.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1995, allocations: 73.99 MB / 0.8472 GB, free: 5.203 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference): time 0.004308/0.2038, allocations: 2.291 MB / 0.8495 GB, free: 2.914 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.5781, allocations: 6.519 MB / 0.8558 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.5783, allocations: 7.984 kB / 0.8558 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.5785, allocations: 23.44 kB / 0.8559 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.5787, allocations: 80.98 kB / 0.8559 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.5789, allocations: 54.41 kB / 0.856 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.5792, allocations: 257.2 kB / 0.8562 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.5793, allocations: 38.61 kB / 0.8563 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.5794, allocations: 102 kB / 0.8564 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.5797, allocations: 100.5 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.5797, allocations: 14.88 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.5797, allocations: 17.62 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.5798, allocations: 35.91 kB / 0.8565 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.5799, allocations: 100.2 kB / 0.8566 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.5801, allocations: 195.3 kB / 0.8568 GB, free: 21.47 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5801, allocations: 1 kB / 0.8568 GB, free: 21.47 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5801, allocations: 0 / 0.8568 GB, free: 21.47 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.5801, allocations: 0 / 0.8568 GB, free: 21.47 MB / 490.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.0007842/0.5809, allocations: 0.4905 MB / 0.8573 GB, free: 21.07 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5809, allocations: 10.41 kB / 0.8573 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.581, allocations: 25.98 kB / 0.8573 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.5812, allocations: 183.4 kB / 0.8575 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5812, allocations: 10.92 kB / 0.8575 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.5812, allocations: 21.39 kB / 0.8575 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.5816, allocations: 186.3 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5816, allocations: 4.859 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.5816, allocations: 6.562 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5816, allocations: 6.25 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.582, allocations: 146 kB / 0.8579 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.5827, allocations: 480.3 kB / 0.8583 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.5831, allocations: 173.7 kB / 0.8585 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5833, allocations: 99.44 kB / 0.8586 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5833, allocations: 3.219 kB / 0.8586 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.5837, allocations: 224.2 kB / 0.8588 GB, free: 20.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.5837, allocations: 0.5625 kB / 0.8588 GB, free: 20.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001333/0.585, allocations: 0.704 MB / 0.8595 GB, free: 19.89 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.585, allocations: 135.6 kB / 0.8596 GB, free: 19.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5852, allocations: 216.2 kB / 0.8598 GB, free: 19.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5852, allocations: 34.36 kB / 0.8599 GB, free: 19.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.5853, allocations: 135.9 kB / 0.86 GB, free: 19.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.5853, allocations: 70.06 kB / 0.8601 GB, free: 19.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.5854, allocations: 55.02 kB / 0.8601 GB, free: 19.44 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.5855, allocations: 340.9 kB / 0.8604 GB, free: 19.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.5857, allocations: 139.5 kB / 0.8606 GB, free: 19.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.5859, allocations: 223.9 kB / 0.8608 GB, free: 18.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.5863, allocations: 285.3 kB / 0.8611 GB, free: 18.71 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5863, allocations: 0 / 0.8611 GB, free: 18.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005367/0.5868, allocations: 389.6 kB / 0.8614 GB, free: 18.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.5869, allocations: 63.86 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5869, allocations: 6.719 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5869, allocations: 2.188 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5871, allocations: 55.86 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.5871, allocations: 6.5 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5873, allocations: 17.06 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5873, allocations: 9.719 kB / 0.8616 GB, free: 18.46 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.0001707/0.5875, allocations: 186.8 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.5875, allocations: 24.33 kB / 0.8618 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.5876, allocations: 26.62 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.5876, allocations: 1.656 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5876, allocations: 3.406 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5876, allocations: 3.609 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.5882, allocations: 0.5342 MB / 0.8623 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5882, allocations: 0.5938 kB / 0.8623 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.5884, allocations: 37.39 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5884, allocations: 1.688 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5884, allocations: 10.14 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5884, allocations: 8.5 kB / 0.8624 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5884, allocations: 1.406 kB / 0.8624 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.5891, allocations: 498.9 kB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.5891, allocations: 22.09 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.5892, allocations: 8.312 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.5893, allocations: 14.66 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.5894, allocations: 29.8 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.5894, allocations: 4.812 kB / 0.8629 GB, free: 17.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5895, allocations: 160.8 kB / 0.8631 GB, free: 17.63 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5895, allocations: 0 / 0.8631 GB, free: 17.63 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002855/0.5898, allocations: 57.84 kB / 0.8632 GB, free: 17.63 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.0001087/0.5899, allocations: 112 kB / 0.8633 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000539/0.5905, allocations: 380.6 kB / 0.8636 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5905, allocations: 1.125 kB / 0.8636 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.5907, allocations: 171.4 kB / 0.8638 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.5912, allocations: 67.09 kB / 0.8639 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5923, allocations: 0.681 MB / 0.8645 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5924, allocations: 122.9 kB / 0.8646 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.5925, allocations: 26.88 kB / 0.8647 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.5926, allocations: 21.81 kB / 0.8647 GB, free: 16.81 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.5926, allocations: 0 / 0.8647 GB, free: 16.81 MB / 490.8 MB Notification: Performance of Templates: time 0.008426/0.601, allocations: 3.656 MB / 0.8683 GB, free: 16.49 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.721058141905814]