Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.00109/0.00109, allocations: 80.94 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.001097/0.001097, allocations: 173 kB / 23.35 MB, free: 1.137 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.567/1.567, allocations: 273.5 MB / 0.5213 GB, free: 14.67 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.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5954 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.337e-05, allocations: 9.969 kB / 0.5954 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002045/0.002068, allocations: 1.548 MB / 0.5969 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.002557, allocations: 331.7 kB / 0.5972 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.002587, allocations: 1.312 kB / 0.5972 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.002801, allocations: 53.02 kB / 0.5973 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.002856, allocations: 8.047 kB / 0.5973 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003106, allocations: 107.6 kB / 0.5974 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.003177, allocations: 54.3 kB / 0.5974 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.003208, allocations: 7.984 kB / 0.5974 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.00325, allocations: 22.61 kB / 0.5975 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.003326, allocations: 18.81 kB / 0.5975 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003339, allocations: 5.312 kB / 0.5975 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.003521, allocations: 140 kB / 0.5976 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.003561, allocations: 15.94 kB / 0.5976 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.003586, allocations: 18.72 kB / 0.5977 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.003794, allocations: 175.8 kB / 0.5978 GB, free: 352 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003796, allocations: 4 kB / 0.5978 GB, free: 348 kB / 0.5105 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003797, allocations: 0 / 0.5978 GB, free: 348 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.0038, allocations: 0 / 0.5978 GB, free: 348 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002768/0.004077, allocations: 276.6 kB / 0.5981 GB, free: 44 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.004106, allocations: 8.031 kB / 0.5981 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.004225, allocations: 30.12 kB / 0.5981 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.004317, allocations: 121.7 kB / 0.5982 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.004327, allocations: 384 / 0.5982 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.004344, allocations: 12.31 kB / 0.5983 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.004438, allocations: 83.42 kB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.004443, allocations: 4.188 kB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.004449, allocations: 384 / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.004453, allocations: 384 / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.004482, allocations: 21.59 kB / 0.5984 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.004757, allocations: 304.1 kB / 0.5987 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.004872, allocations: 82.5 kB / 0.5987 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.004891, allocations: 18.17 kB / 0.5987 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.004897, allocations: 0 / 0.5987 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004916, allocations: 34.56 kB / 0.5988 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.004916, allocations: 0 / 0.5988 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001354/0.005052, allocations: 89.55 kB / 0.5989 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.005077, allocations: 51.41 kB / 0.5989 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.005171, allocations: 170.7 kB / 0.5991 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.00518, allocations: 25.7 kB / 0.5991 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.005211, allocations: 92.08 kB / 0.5992 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.005233, allocations: 15.84 kB / 0.5992 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.005263, allocations: 21.7 kB / 0.5992 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.005334, allocations: 324.1 kB / 0.5995 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.005354, allocations: 14.83 kB / 0.5996 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.005376, allocations: 25.69 kB / 0.5996 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.00544, allocations: 62.98 kB / 0.5996 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005441, allocations: 0 / 0.5996 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.351e-05/0.005535, allocations: 80.48 kB / 0.5997 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.005545, allocations: 4 kB / 0.5997 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00555, allocations: 7.938 kB / 0.5997 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005559, allocations: 3.938 kB / 0.5997 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.005605, allocations: 8 kB / 0.5997 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005607, allocations: 0 / 0.5997 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.005626, allocations: 7.953 kB / 0.5997 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.005663, allocations: 21.28 kB / 0.5998 GB, free: 14.18 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.784e-05/0.00575, allocations: 120.7 kB / 0.5999 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.005786, allocations: 23.89 kB / 0.5999 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.005804, allocations: 8.469 kB / 0.5999 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.005807, allocations: 7.938 kB / 0.5999 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005809, allocations: 3.703 kB / 0.5999 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005812, allocations: 0 / 0.5999 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.005917, allocations: 93.8 kB / 0.6 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005918, allocations: 0 / 0.6 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.005963, allocations: 19.92 kB / 0.6 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005965, allocations: 0 / 0.6 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.00597, allocations: 4 kB / 0.6 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.005973, allocations: 5.422 kB / 0.6 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005974, allocations: 0 / 0.6 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.006131, allocations: 230.2 kB / 0.6003 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.00614, allocations: 7.891 kB / 0.6003 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006152, allocations: 0 / 0.6003 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.006184, allocations: 8 kB / 0.6003 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.006195, allocations: 3.984 kB / 0.6003 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.006216, allocations: 23.91 kB / 0.6003 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.006253, allocations: 47.62 kB / 0.6003 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.006253, allocations: 0 / 0.6003 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001635/0.006416, allocations: 28 kB / 0.6004 GB, free: 13.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (5): * Single equations (assignments): 5 * 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.0001737/0.00659, allocations: 121.6 kB / 0.6005 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.006661, allocations: 40.78 kB / 0.6005 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.006665, allocations: 4 kB / 0.6005 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.006683, allocations: 19.91 kB / 0.6005 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.006819, allocations: 14.47 kB / 0.6006 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.007454, allocations: 270.2 kB / 0.6008 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.007494, allocations: 67.28 kB / 0.6009 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.007553, allocations: 59.84 kB / 0.6009 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.0076, allocations: 59.36 kB / 0.601 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.007601, allocations: 0 / 0.601 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.003043/0.01064, allocations: 1.508 MB / 0.6025 GB, free: 11.36 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.557513376232237]