Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.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.001025/0.001025, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001134/0.001134, allocations: 166.3 kB / 23.21 MB, free: 1.332 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 0.9355/0.9355, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7039/0.7039, allocations: 291.2 MB / 0.5382 GB, free: 51.89 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.Examples.PK_1C_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") translateModel(Pharmacolibrary.Examples.PK_1C_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6972 GB, free: 10.54 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.232e-05, allocations: 2.281 kB / 0.6972 GB, free: 10.54 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.001924/0.001946, allocations: 2.113 MB / 0.6993 GB, free: 8.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.002523, allocations: 0.5377 MB / 0.6998 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.002597, allocations: 3.938 kB / 0.6998 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.002696, allocations: 19.78 kB / 0.6998 GB, free: 7.844 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.002831, allocations: 71.47 kB / 0.6999 GB, free: 7.773 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.002951, allocations: 43.89 kB / 0.6999 GB, free: 7.73 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.003111, allocations: 207 kB / 0.7001 GB, free: 7.527 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003221, allocations: 30.02 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.003314, allocations: 115.7 kB / 0.7003 GB, free: 7.383 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.003396, allocations: 63.81 kB / 0.7003 GB, free: 7.32 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.00342, allocations: 16 kB / 0.7004 GB, free: 7.305 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.003437, allocations: 16 kB / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.003464, allocations: 39.83 kB / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.003513, allocations: 59.91 kB / 0.7005 GB, free: 7.191 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.003656, allocations: 171.5 kB / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003659, allocations: 0 / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00366, allocations: 0 / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003664, allocations: 0 / 0.7006 GB, free: 7.023 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004994/0.004163, allocations: 427.2 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.004196, allocations: 8.031 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.004237, allocations: 16.84 kB / 0.7011 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.00437, allocations: 168.8 kB / 0.7012 GB, free: 6.359 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004382, allocations: 12.36 kB / 0.7012 GB, free: 6.348 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.004408, allocations: 12.38 kB / 0.7012 GB, free: 6.336 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.004585, allocations: 126.1 kB / 0.7014 GB, free: 6.207 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.004596, allocations: 192 / 0.7014 GB, free: 6.207 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.004609, allocations: 8.359 kB / 0.7014 GB, free: 6.199 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.004613, allocations: 7.938 kB / 0.7014 GB, free: 6.191 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.004759, allocations: 95.88 kB / 0.7015 GB, free: 6.098 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.005181, allocations: 376.2 kB / 0.7018 GB, free: 5.699 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.005446, allocations: 133.3 kB / 0.702 GB, free: 5.562 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.005534, allocations: 56.83 kB / 0.702 GB, free: 5.504 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.005544, allocations: 0 / 0.702 GB, free: 5.504 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.005696, allocations: 115.3 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.005697, allocations: 0 / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=14): time 0.0004833/0.006181, allocations: 250.4 kB / 0.7024 GB, free: 5.125 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.006204, allocations: 63.34 kB / 0.7024 GB, free: 5.051 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.006296, allocations: 173.8 kB / 0.7026 GB, free: 4.875 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.006308, allocations: 33.7 kB / 0.7026 GB, free: 4.836 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.006347, allocations: 116 kB / 0.7027 GB, free: 4.719 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.006371, allocations: 59.45 kB / 0.7028 GB, free: 4.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.006409, allocations: 37.7 kB / 0.7028 GB, free: 4.617 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.17e-05/0.006441, allocations: 326.8 kB / 0.7031 GB, free: 4.289 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.006552, allocations: 98.45 kB / 0.7032 GB, free: 4.184 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.00665, allocations: 147.6 kB / 0.7034 GB, free: 4.012 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.006809, allocations: 169.1 kB / 0.7035 GB, free: 3.828 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006811, allocations: 0 / 0.7035 GB, free: 3.828 MB / 410.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002878/0.007099, allocations: 283.9 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.007123, allocations: 33.7 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007128, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.007266, allocations: 32.83 kB / 0.7039 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.007349, allocations: 39.91 kB / 0.7039 GB, free: 3.418 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005607/0.007909, allocations: 1.255 MB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.007988, allocations: 27.91 kB / 0.7052 GB, free: 2.039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.007999, allocations: 7.938 kB / 0.7052 GB, free: 2.031 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve (total conc)\" type: Real 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: 4 * Number of states: 0 () * Number of discrete variables: 5 (periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.008076, allocations: 137.9 kB / 0.7053 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.008088, allocations: 11.91 kB / 0.7053 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.008107, allocations: 20.78 kB / 0.7053 GB, free: 1.852 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008109, allocations: 7.938 kB / 0.7053 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.008111, allocations: 0 / 0.7053 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.008114, allocations: 0 / 0.7053 GB, free: 1.844 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.122e-05/0.008205, allocations: 169.1 kB / 0.7055 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008207, allocations: 0 / 0.7055 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.008281, allocations: 23.98 kB / 0.7055 GB, free: 1.625 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.431e-05/0.008365, allocations: 28.84 kB / 0.7055 GB, free: 1.594 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.008377, allocations: 7.984 kB / 0.7055 GB, free: 1.586 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003538/0.008731, allocations: 1.244 MB / 0.7068 GB, free: 248 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008732, allocations: 0 / 0.7068 GB, free: 248 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.009061, allocations: 288 kB / 0.707 GB, free: 15.94 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.00908, allocations: 15.84 kB / 0.7071 GB, free: 15.93 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.009096, allocations: 8 kB / 0.7071 GB, free: 15.92 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.009149, allocations: 11.97 kB / 0.7071 GB, free: 15.91 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.009203, allocations: 19.97 kB / 0.7071 GB, free: 15.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.009211, allocations: 4 kB / 0.7071 GB, free: 15.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 7.028e-05/0.009281, allocations: 131.2 kB / 0.7072 GB, free: 15.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009281, allocations: 4 kB / 0.7072 GB, free: 15.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001694/0.009451, allocations: 51.88 kB / 0.7073 GB, free: 15.7 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.M,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 3 ($whenCondition1,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 1 (periodicDose.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.744e-05/0.009548, allocations: 99.25 kB / 0.7074 GB, free: 15.59 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.009928, allocations: 327.7 kB / 0.7077 GB, free: 15.24 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.00993, allocations: 0 / 0.7077 GB, free: 15.24 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.01007, allocations: 182.7 kB / 0.7079 GB, free: 15.05 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01027, allocations: 43.95 kB / 0.7079 GB, free: 15 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.01091, allocations: 487.4 kB / 0.7084 GB, free: 14.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.01098, allocations: 107.6 kB / 0.7085 GB, free: 14.37 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.01102, allocations: 16.5 kB / 0.7085 GB, free: 14.36 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.01102, allocations: 0 / 0.7085 GB, free: 14.36 MB / 426.8 MB Notification: Performance of Templates: time 0.003171/0.01419, allocations: 2.852 MB / 0.7113 GB, free: 11.51 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7057851459831]