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.001833/0.001833, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.001975/0.001975, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.804/1.804, allocations: 230.6 MB / 256 MB, free: 9.609 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.457/1.457, allocations: 316.7 MB / 0.6144 GB, free: 93.16 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.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: 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.003716/0.003716, allocations: 81.28 kB / 0.7749 GB, free: 14.91 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1927, allocations: 73.98 MB / 0.8471 GB, free: 5.066 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.005029/0.1978, allocations: 2.123 MB / 0.8492 GB, free: 2.945 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1992, allocations: 0.5395 MB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1992, allocations: 0.7188 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1994, allocations: 19.78 kB / 0.8497 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1996, allocations: 56.8 kB / 0.8498 GB, free: 2.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1997, allocations: 47.89 kB / 0.8498 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.2001, allocations: 207.7 kB / 0.85 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2002, allocations: 22.53 kB / 0.8501 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2003, allocations: 83.7 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.2005, allocations: 76.19 kB / 0.8502 GB, free: 1.902 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.2006, allocations: 16.56 kB / 0.8502 GB, free: 1.887 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.2006, allocations: 16 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.2007, allocations: 32.56 kB / 0.8503 GB, free: 1.84 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.2008, allocations: 68.47 kB / 0.8503 GB, free: 1.773 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2012, allocations: 171.4 kB / 0.8505 GB, free: 1.605 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2012, allocations: 4.625 kB / 0.8505 GB, free: 1.602 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2012, allocations: 0 / 0.8505 GB, free: 1.602 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.2012, allocations: 0.5938 kB / 0.8505 GB, free: 1.602 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001164/0.2023, allocations: 416.6 kB / 0.8509 GB, free: 1.16 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.2024, allocations: 15.97 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.2025, allocations: 17.47 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.2028, allocations: 166.8 kB / 0.8511 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.2028, allocations: 12.38 kB / 0.8511 GB, free: 0.9297 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.2029, allocations: 17 kB / 0.8511 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.2033, allocations: 141.8 kB / 0.8513 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2033, allocations: 0.5 kB / 0.8513 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.2034, allocations: 0 / 0.8513 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.2034, allocations: 8.609 kB / 0.8513 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.2038, allocations: 97.16 kB / 0.8514 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009749/0.2048, allocations: 369.3 kB / 0.8517 GB, free: 288 kB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.2054, allocations: 131.6 kB / 0.8518 GB, free: 148 kB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2056, allocations: 57.42 kB / 0.8519 GB, free: 88 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2056, allocations: 4.578 kB / 0.8519 GB, free: 84 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.206, allocations: 111.9 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.206, allocations: 1.219 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=14): time 0.001317/0.2073, allocations: 253.6 kB / 0.8522 GB, free: 15.71 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2074, allocations: 59.34 kB / 0.8523 GB, free: 15.64 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.2077, allocations: 166.2 kB / 0.8525 GB, free: 15.47 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.2077, allocations: 33.69 kB / 0.8525 GB, free: 15.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2078, allocations: 122.4 kB / 0.8526 GB, free: 15.31 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.2079, allocations: 55.52 kB / 0.8527 GB, free: 15.25 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.2082, allocations: 37.7 kB / 0.8527 GB, free: 15.21 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.2084, allocations: 326.8 kB / 0.853 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.2087, allocations: 94.52 kB / 0.8531 GB, free: 14.78 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.209, allocations: 144.2 kB / 0.8532 GB, free: 14.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.2096, allocations: 178.2 kB / 0.8534 GB, free: 14.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2096, allocations: 0 / 0.8534 GB, free: 14.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008992/0.2105, allocations: 279.4 kB / 0.8537 GB, free: 14.13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.2105, allocations: 40.34 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2105, allocations: 4.562 kB / 0.8537 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.2109, allocations: 29.97 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2112, allocations: 36.56 kB / 0.8538 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.2131, allocations: 1.255 MB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2133, allocations: 32.53 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2133, allocations: 4.688 kB / 0.855 GB, free: 12.63 MB / 490.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 0.000215/0.2135, allocations: 147 kB / 0.8552 GB, free: 12.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.2135, allocations: 12.53 kB / 0.8552 GB, free: 12.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.2136, allocations: 16.78 kB / 0.8552 GB, free: 12.45 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2136, allocations: 4.562 kB / 0.8552 GB, free: 12.44 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2136, allocations: 3.938 kB / 0.8552 GB, free: 12.44 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2136, allocations: 8.484 kB / 0.8552 GB, free: 12.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3486/0.5622, allocations: 151.2 kB / 0.8554 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5622, allocations: 0 / 0.8554 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.5624, allocations: 23.16 kB / 0.8554 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.5626, allocations: 32.39 kB / 0.8554 GB, free: 28.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5626, allocations: 4.703 kB / 0.8554 GB, free: 28.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007598/0.5634, allocations: 1.256 MB / 0.8567 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5634, allocations: 0 / 0.8567 GB, free: 27.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.564, allocations: 274.8 kB / 0.8569 GB, free: 27.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.564, allocations: 9.797 kB / 0.8569 GB, free: 27.14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.5641, allocations: 7.234 kB / 0.8569 GB, free: 27.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5642, allocations: 13.8 kB / 0.8569 GB, free: 27.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.5643, allocations: 18.47 kB / 0.857 GB, free: 27.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.5643, allocations: 8.219 kB / 0.857 GB, free: 27.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.137e-05/0.5644, allocations: 129.3 kB / 0.8571 GB, free: 27.06 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5644, allocations: 0 / 0.8571 GB, free: 27.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002749/0.5646, allocations: 45.81 kB / 0.8571 GB, free: 27.06 MB / 490.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 8.839e-05/0.5647, allocations: 98.69 kB / 0.8572 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.5652, allocations: 341.2 kB / 0.8576 GB, free: 26.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.5652, allocations: 0 / 0.8576 GB, free: 26.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.5655, allocations: 180.7 kB / 0.8577 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.5658, allocations: 42.5 kB / 0.8578 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5668, allocations: 0.547 MB / 0.8583 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.5669, allocations: 111.4 kB / 0.8584 GB, free: 26.38 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.567, allocations: 12.41 kB / 0.8584 GB, free: 26.37 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.567, allocations: 17.17 kB / 0.8584 GB, free: 26.36 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.567, allocations: 0 / 0.8584 GB, free: 26.36 MB / 490.8 MB Notification: Performance of Templates: time 0.00695/0.5739, allocations: 2.901 MB / 0.8613 GB, free: 26.17 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.642425603000447]