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.002414/0.002414, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002761/0.002761, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.776/1.776, allocations: 177.1 MB / 202.8 MB, free: 5.781 MB / 186.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.323/1.323, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 3.984 kB / 0.6998 GB, free: 8.637 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.209e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.633 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R06A_AntihistaminesForSystemicUse.R06AC04_Tripelennamine.Tripelennamine_Wasfi2000_reference): time 0.003531/0.003553, allocations: 2.287 MB / 0.7021 GB, free: 6.328 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.01025, allocations: 6.53 MB / 0.7085 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.01039, allocations: 0 / 0.7085 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.01055, allocations: 27.72 kB / 0.7085 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.01086, allocations: 87.2 kB / 0.7086 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.01113, allocations: 51.88 kB / 0.7086 GB, free: 15.62 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.01162, allocations: 270.6 kB / 0.7089 GB, free: 15.36 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.01178, allocations: 28.58 kB / 0.7089 GB, free: 15.34 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.01207, allocations: 143.6 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.01236, allocations: 87.72 kB / 0.7091 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.0124, allocations: 16 kB / 0.7091 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.157e-05/0.01246, allocations: 16 kB / 0.7092 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.01252, allocations: 43.83 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.01267, allocations: 75.77 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.01305, allocations: 203.3 kB / 0.7095 GB, free: 14.76 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01305, allocations: 0 / 0.7095 GB, free: 14.76 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01306, allocations: 0 / 0.7095 GB, free: 14.76 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.01306, allocations: 0 / 0.7095 GB, free: 14.76 MB / 426.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.001283/0.01434, allocations: 0.4929 MB / 0.7099 GB, free: 14.22 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.01438, allocations: 8.031 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.01447, allocations: 24.8 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.01483, allocations: 178.5 kB / 0.7101 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.01486, allocations: 16.61 kB / 0.7102 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.01491, allocations: 12.38 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.01548, allocations: 198.4 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.0155, allocations: 11.89 kB / 0.7104 GB, free: 13.74 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.01553, allocations: 8 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.01554, allocations: 4 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.01607, allocations: 142.3 kB / 0.7105 GB, free: 13.59 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01723, allocations: 485.5 kB / 0.711 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.01795, allocations: 176 kB / 0.7112 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.01824, allocations: 94.52 kB / 0.7112 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.01826, allocations: 4 kB / 0.7112 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.01878, allocations: 224.4 kB / 0.7115 GB, free: 12.54 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.01878, allocations: 0 / 0.7115 GB, free: 12.54 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.002223/0.02101, allocations: 0.7062 MB / 0.7122 GB, free: 11.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.02114, allocations: 140.4 kB / 0.7123 GB, free: 11.6 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.02149, allocations: 219 kB / 0.7125 GB, free: 11.38 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.02154, allocations: 33.7 kB / 0.7125 GB, free: 11.34 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.02168, allocations: 132.5 kB / 0.7127 GB, free: 11.2 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.02178, allocations: 63.48 kB / 0.7127 GB, free: 11.14 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.02192, allocations: 53.7 kB / 0.7128 GB, free: 11.08 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.02216, allocations: 338.8 kB / 0.7131 GB, free: 10.74 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.02256, allocations: 148.9 kB / 0.7132 GB, free: 10.58 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.02301, allocations: 217.9 kB / 0.7134 GB, free: 10.32 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.02368, allocations: 288.8 kB / 0.7137 GB, free: 9.996 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02368, allocations: 0 / 0.7137 GB, free: 9.996 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009636/0.02464, allocations: 394.2 kB / 0.7141 GB, free: 9.582 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.02472, allocations: 69.89 kB / 0.7142 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02473, allocations: 0 / 0.7142 GB, free: 9.504 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.02475, allocations: 4 kB / 0.7142 GB, free: 9.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.02507, allocations: 56.06 kB / 0.7142 GB, free: 9.445 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02508, allocations: 4 kB / 0.7142 GB, free: 9.441 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.02534, allocations: 15.98 kB / 0.7142 GB, free: 9.426 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.02538, allocations: 16 kB / 0.7142 GB, free: 9.41 MB / 426.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.0002638/0.02564, allocations: 177.8 kB / 0.7144 GB, free: 9.223 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.02569, allocations: 15.91 kB / 0.7144 GB, free: 9.207 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.02578, allocations: 25.95 kB / 0.7145 GB, free: 9.18 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02579, allocations: 8 kB / 0.7145 GB, free: 9.172 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.02579, allocations: 3.938 kB / 0.7145 GB, free: 9.168 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.0258, allocations: 0 / 0.7145 GB, free: 9.168 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.02703, allocations: 0.5393 MB / 0.715 GB, free: 8.582 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02704, allocations: 4 kB / 0.715 GB, free: 8.578 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.02732, allocations: 35.97 kB / 0.715 GB, free: 8.543 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02732, allocations: 0 / 0.715 GB, free: 8.543 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.02735, allocations: 15.92 kB / 0.715 GB, free: 8.527 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02736, allocations: 4 kB / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02736, allocations: 0 / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.02853, allocations: 0.5001 MB / 0.7155 GB, free: 7.992 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.02858, allocations: 19.86 kB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.02865, allocations: 4 kB / 0.7156 GB, free: 7.969 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.02891, allocations: 15.98 kB / 0.7156 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.02901, allocations: 23.95 kB / 0.7156 GB, free: 7.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.02903, allocations: 4 kB / 0.7156 GB, free: 7.926 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002284/0.02926, allocations: 160.4 kB / 0.7158 GB, free: 7.77 MB / 426.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02926, allocations: 0 / 0.7158 GB, free: 7.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000501/0.02976, allocations: 60 kB / 0.7158 GB, free: 7.711 MB / 426.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.0001807/0.02994, allocations: 114.4 kB / 0.7159 GB, free: 7.594 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008933/0.03083, allocations: 382.4 kB / 0.7163 GB, free: 7.18 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03084, allocations: 448 / 0.7163 GB, free: 7.18 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.03123, allocations: 177 kB / 0.7165 GB, free: 6.988 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.03187, allocations: 63.89 kB / 0.7165 GB, free: 6.926 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.03319, allocations: 0.5729 MB / 0.7171 GB, free: 6.324 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.03334, allocations: 121.6 kB / 0.7172 GB, free: 6.184 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.03343, allocations: 29.92 kB / 0.7172 GB, free: 6.152 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.03352, allocations: 24.5 kB / 0.7172 GB, free: 6.129 MB / 426.8 MB Notification: Performance of SimCode: time 4.71e-07/0.03352, allocations: 4 kB / 0.7173 GB, free: 6.125 MB / 426.8 MB Notification: Performance of Templates: time 0.2339/0.2674, allocations: 3.328 MB / 0.7205 GB, free: 37 MB / 426.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 -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.129971976857632]