Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001349/0.001349, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001454/0.001454, allocations: 181 kB / 23.36 MB, free: 1.133 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.9965/0.9965, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.715/1.715, allocations: 273.5 MB / 0.5213 GB, free: 14.61 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5954 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.239e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001651/0.001673, allocations: 1.307 MB / 0.5967 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.001855, allocations: 57.31 kB / 0.5967 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.001882, allocations: 4 kB / 0.5967 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.499e-05/0.001947, allocations: 3.938 kB / 0.5967 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.001981, allocations: 1.312 kB / 0.5967 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.002115, allocations: 25.48 kB / 0.5968 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.002188, allocations: 25.12 kB / 0.5968 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.002224, allocations: 7.984 kB / 0.5968 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.002284, allocations: 13.3 kB / 0.5968 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.00236, allocations: 17.41 kB / 0.5968 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002376, allocations: 0 / 0.5968 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.002389, allocations: 0 / 0.5968 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.002409, allocations: 9.406 kB / 0.5968 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.00243, allocations: 5.312 kB / 0.5968 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.363e-05/0.002483, allocations: 9.406 kB / 0.5968 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002485, allocations: 0 / 0.5968 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.72e-07/0.002486, allocations: 4 kB / 0.5969 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.002489, allocations: 0 / 0.5969 GB, free: 1.227 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002543/0.002743, allocations: 250.2 kB / 0.5971 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.002769, allocations: 12.02 kB / 0.5971 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.82e-05/0.002787, allocations: 8.938 kB / 0.5971 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.002863, allocations: 113.7 kB / 0.5972 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.002869, allocations: 384 / 0.5972 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.002876, allocations: 4.312 kB / 0.5972 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.59e-05/0.002942, allocations: 60.67 kB / 0.5973 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.002947, allocations: 192 / 0.5973 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-06/0.002952, allocations: 384 / 0.5973 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.002956, allocations: 1.797 kB / 0.5973 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.484e-05/0.00297, allocations: 19.81 kB / 0.5973 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.003129, allocations: 227.2 kB / 0.5975 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.529e-05/0.003154, allocations: 18.64 kB / 0.5975 GB, free: 448 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.003165, allocations: 4.859 kB / 0.5975 GB, free: 440 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.003173, allocations: 0 / 0.5975 GB, free: 440 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.003189, allocations: 38.61 kB / 0.5976 GB, free: 392 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.00319, allocations: 0 / 0.5976 GB, free: 392 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 6.488e-05/0.003255, allocations: 37.58 kB / 0.5976 GB, free: 348 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.003277, allocations: 55.41 kB / 0.5977 GB, free: 280 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.003336, allocations: 118.8 kB / 0.5978 GB, free: 148 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.003344, allocations: 25.7 kB / 0.5978 GB, free: 116 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.003378, allocations: 101.3 kB / 0.5979 GB, free: 12 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.003381, allocations: 0 / 0.5979 GB, free: 12 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.003411, allocations: 9.719 kB / 0.5979 GB, free: 16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.00348, allocations: 318.8 kB / 0.5982 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.003486, allocations: 0 / 0.5982 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.003497, allocations: 13.72 kB / 0.5982 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.003522, allocations: 24.47 kB / 0.5983 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003524, allocations: 4.062 kB / 0.5983 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.378e-05/0.003558, allocations: 45.62 kB / 0.5983 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.003567, allocations: 4 kB / 0.5983 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.003571, allocations: 4 kB / 0.5983 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.003579, allocations: 3.938 kB / 0.5983 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.003613, allocations: 5.422 kB / 0.5983 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.003615, allocations: 0 / 0.5983 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.003632, allocations: 4 kB / 0.5983 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.003637, allocations: 3.984 kB / 0.5983 GB, free: 15.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.385e-05/0.003681, allocations: 116.7 kB / 0.5984 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.003692, allocations: 0 / 0.5984 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.003737, allocations: 45.16 kB / 0.5985 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.003739, allocations: 7.875 kB / 0.5985 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.003741, allocations: 3.688 kB / 0.5985 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003743, allocations: 0 / 0.5985 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.859e-05/0.003811, allocations: 69.88 kB / 0.5986 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003812, allocations: 4 kB / 0.5986 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.003826, allocations: 4 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.003827, allocations: 1.312 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-06/0.003829, allocations: 4.031 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00383, allocations: 0 / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00383, allocations: 0 / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.752e-05/0.003888, allocations: 135.5 kB / 0.5987 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.003895, allocations: 3.953 kB / 0.5987 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-06/0.003902, allocations: 0 / 0.5987 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.003931, allocations: 7.984 kB / 0.5987 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.003951, allocations: 0 / 0.5987 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.003954, allocations: 7.938 kB / 0.5987 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.003968, allocations: 20.78 kB / 0.5987 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.003968, allocations: 4.031 kB / 0.5987 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000109/0.004077, allocations: 5.312 kB / 0.5987 GB, free: 15.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.772e-05/0.004145, allocations: 76.42 kB / 0.5988 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.737e-05/0.004192, allocations: 8.859 kB / 0.5988 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.004194, allocations: 0 / 0.5988 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.004205, allocations: 8.859 kB / 0.5988 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.004336, allocations: 8 kB / 0.5988 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.004669, allocations: 135.6 kB / 0.599 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.004701, allocations: 59.3 kB / 0.599 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.004719, allocations: 7.984 kB / 0.599 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.004757, allocations: 49.12 kB / 0.5991 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of SimCode: time 3.4e-07/0.004758, allocations: 4 kB / 0.5991 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.001917/0.006675, allocations: 484.8 kB / 0.5995 GB, free: 14.2 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.778289355803281]