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.001968/0.001968, allocations: 101.5 kB / 18.94 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.002057/0.002057, allocations: 213.7 kB / 22.25 MB, free: 3.57 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.83/1.83, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 3.886/3.886, allocations: 335.2 MB / 0.6325 GB, free: 7.234 MB / 442.7 MB " [Timeout remaining time 176] 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: 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.0051/0.0051, allocations: 79.88 kB / 0.868 GB, free: 5.715 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2802, allocations: 112.8 MB / 0.9782 GB, free: 4.637 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.002815/0.283, allocations: 1.252 MB / 0.9794 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.2833, allocations: 59.78 kB / 0.9795 GB, free: 3.316 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.2834, allocations: 7.938 kB / 0.9795 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 8.712e-05/0.2834, allocations: 0 / 0.9795 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.2835, allocations: 3.938 kB / 0.9795 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.2837, allocations: 19.92 kB / 0.9795 GB, free: 3.285 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2838, allocations: 27.91 kB / 0.9795 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.2838, allocations: 0 / 0.9795 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.2839, allocations: 19.97 kB / 0.9795 GB, free: 3.238 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.284, allocations: 19.86 kB / 0.9796 GB, free: 3.219 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.284, allocations: 4 kB / 0.9796 GB, free: 3.215 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.284, allocations: 0 / 0.9796 GB, free: 3.215 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.2841, allocations: 3.938 kB / 0.9796 GB, free: 3.211 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2841, allocations: 11.94 kB / 0.9796 GB, free: 3.199 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.2842, allocations: 15.86 kB / 0.9796 GB, free: 3.184 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2842, allocations: 0 / 0.9796 GB, free: 3.184 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2842, allocations: 0 / 0.9796 GB, free: 3.184 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2842, allocations: 0 / 0.9796 GB, free: 3.184 MB / 0.6824 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.0005701/0.2848, allocations: 266.3 kB / 0.9798 GB, free: 2.891 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2848, allocations: 18.11 kB / 0.9799 GB, free: 2.875 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2848, allocations: 4.891 kB / 0.9799 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.285, allocations: 122.4 kB / 0.98 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-06/0.285, allocations: 384 / 0.98 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.285, allocations: 8.359 kB / 0.98 GB, free: 2.719 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2852, allocations: 55.91 kB / 0.98 GB, free: 2.652 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.2852, allocations: 192 / 0.98 GB, free: 2.652 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2852, allocations: 3.938 kB / 0.9801 GB, free: 2.648 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2853, allocations: 0 / 0.9801 GB, free: 2.648 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.2853, allocations: 15.98 kB / 0.9801 GB, free: 2.633 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.2857, allocations: 272.8 kB / 0.9803 GB, free: 2.332 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.2858, allocations: 26.53 kB / 0.9804 GB, free: 2.297 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.2859, allocations: 16.86 kB / 0.9804 GB, free: 2.277 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2859, allocations: 0 / 0.9804 GB, free: 2.277 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2859, allocations: 34.56 kB / 0.9804 GB, free: 2.234 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.2859, allocations: 3.938 kB / 0.9804 GB, free: 2.23 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0002221/0.2861, allocations: 41.69 kB / 0.9804 GB, free: 2.184 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.2862, allocations: 55.34 kB / 0.9805 GB, free: 2.117 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2863, allocations: 113.8 kB / 0.9806 GB, free: 1.996 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2863, allocations: 29.83 kB / 0.9806 GB, free: 1.961 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.2864, allocations: 96.08 kB / 0.9807 GB, free: 1.863 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.2864, allocations: 3.953 kB / 0.9807 GB, free: 1.859 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.2865, allocations: 13.66 kB / 0.9807 GB, free: 1.84 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2866, allocations: 314.8 kB / 0.981 GB, free: 1.523 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.2867, allocations: 11.98 kB / 0.9811 GB, free: 1.512 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.2867, allocations: 13.72 kB / 0.9811 GB, free: 1.492 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.2868, allocations: 21.7 kB / 0.9811 GB, free: 1.465 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2868, allocations: 4.062 kB / 0.9811 GB, free: 1.461 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.2869, allocations: 57.56 kB / 0.9811 GB, free: 1.398 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2869, allocations: 4 kB / 0.9812 GB, free: 1.395 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2869, allocations: 0 / 0.9812 GB, free: 1.395 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2869, allocations: 4 kB / 0.9812 GB, free: 1.391 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.287, allocations: 4 kB / 0.9812 GB, free: 1.387 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.287, allocations: 0 / 0.9812 GB, free: 1.387 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.2871, allocations: 7.984 kB / 0.9812 GB, free: 1.379 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2871, allocations: 0 / 0.9812 GB, free: 1.379 MB / 0.6824 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 9.259e-05/0.2872, allocations: 120.2 kB / 0.9813 GB, free: 1.254 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2872, allocations: 7.891 kB / 0.9813 GB, free: 1.246 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.2873, allocations: 57.11 kB / 0.9813 GB, free: 1.18 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2873, allocations: 3.984 kB / 0.9813 GB, free: 1.176 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2873, allocations: 0 / 0.9813 GB, free: 1.176 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2874, allocations: 0 / 0.9813 GB, free: 1.176 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2875, allocations: 105.3 kB / 0.9814 GB, free: 1.043 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2875, allocations: 0 / 0.9814 GB, free: 1.043 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.2875, allocations: 11.92 kB / 0.9815 GB, free: 1.031 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2875, allocations: 32 / 0.9815 GB, free: 1.031 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2876, allocations: 4 kB / 0.9815 GB, free: 1.027 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2876, allocations: 4.375 kB / 0.9815 GB, free: 1.023 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2876, allocations: 0 / 0.9815 GB, free: 1.023 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.2877, allocations: 139.5 kB / 0.9816 GB, free: 0.8711 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.2877, allocations: 15.83 kB / 0.9816 GB, free: 0.8555 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2878, allocations: 3.938 kB / 0.9816 GB, free: 0.8516 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.2878, allocations: 7.984 kB / 0.9816 GB, free: 0.8438 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.2879, allocations: 0 / 0.9816 GB, free: 0.8438 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2879, allocations: 4 kB / 0.9816 GB, free: 0.8398 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.2879, allocations: 95.3 kB / 0.9817 GB, free: 0.7461 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.2879, allocations: 0 / 0.9817 GB, free: 0.7461 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002092/0.2882, allocations: 4 kB / 0.9817 GB, free: 0.7422 MB / 0.6824 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 0.0001164/0.2883, allocations: 99.19 kB / 0.9818 GB, free: 0.6367 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.2884, allocations: 19.92 kB / 0.9818 GB, free: 0.6172 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2884, allocations: 0 / 0.9818 GB, free: 0.6172 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.2884, allocations: 8 kB / 0.9818 GB, free: 0.6094 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2887, allocations: 192 / 0.9818 GB, free: 0.6094 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.289, allocations: 118.2 kB / 0.982 GB, free: 480 kB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.2891, allocations: 67.33 kB / 0.982 GB, free: 392 kB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.2891, allocations: 3.984 kB / 0.982 GB, free: 388 kB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2892, allocations: 11.44 kB / 0.982 GB, free: 376 kB / 0.6824 GB Notification: Performance of SimCode: time 2.9e-07/0.2892, allocations: 0 / 0.982 GB, free: 376 kB / 0.6824 GB Notification: Performance of Templates: time 0.003136/0.2923, allocations: 480.8 kB / 0.9825 GB, free: 15.91 MB / 0.698 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: 10.603175820084289]