Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.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.001534/0.001534, allocations: 84.53 kB / 19.93 MB, free: 4.605 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.00129/0.00129, allocations: 177.9 kB / 23.21 MB, free: 1.324 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.9512/0.9512, 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 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.568/1.568, allocations: 273.5 MB / 0.5209 GB, free: 14.98 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.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7557 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.494e-05, allocations: 4.531 kB / 0.7558 GB, free: 10.69 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002018/0.002043, allocations: 1.285 MB / 0.757 GB, free: 9.41 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.002309, allocations: 105 kB / 0.7571 GB, free: 9.309 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.002338, allocations: 4 kB / 0.7571 GB, free: 9.305 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.002359, allocations: 0 / 0.7571 GB, free: 9.305 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.002425, allocations: 6.828 kB / 0.7571 GB, free: 9.301 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.002618, allocations: 19.86 kB / 0.7571 GB, free: 9.281 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.00268, allocations: 18.77 kB / 0.7572 GB, free: 9.27 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.002737, allocations: 0 / 0.7572 GB, free: 9.27 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.002774, allocations: 5.312 kB / 0.7572 GB, free: 9.266 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.002929, allocations: 17.73 kB / 0.7572 GB, free: 9.25 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.002944, allocations: 4 kB / 0.7572 GB, free: 9.246 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.002952, allocations: 0 / 0.7572 GB, free: 9.246 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.002963, allocations: 0 / 0.7572 GB, free: 9.246 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.002985, allocations: 4 kB / 0.7572 GB, free: 9.242 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 7.228e-05/0.003057, allocations: 13.28 kB / 0.7572 GB, free: 9.23 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003059, allocations: 0 / 0.7572 GB, free: 9.23 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.00306, allocations: 0 / 0.7572 GB, free: 9.23 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003065, allocations: 4 kB / 0.7572 GB, free: 9.227 MB / 0.5887 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.0003083/0.003373, allocations: 246.4 kB / 0.7574 GB, free: 8.953 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.003416, allocations: 8.031 kB / 0.7574 GB, free: 8.945 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.003446, allocations: 4.938 kB / 0.7574 GB, free: 8.941 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.003522, allocations: 109.8 kB / 0.7576 GB, free: 8.809 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.003534, allocations: 5.578 kB / 0.7576 GB, free: 8.805 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.003554, allocations: 384 / 0.7576 GB, free: 8.805 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.938e-05/0.003653, allocations: 55.91 kB / 0.7576 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003662, allocations: 192 / 0.7576 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.003671, allocations: 384 / 0.7576 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.003682, allocations: 384 / 0.7576 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.003718, allocations: 7.938 kB / 0.7576 GB, free: 8.73 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.003946, allocations: 189.5 kB / 0.7578 GB, free: 8.512 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.004012, allocations: 34.55 kB / 0.7578 GB, free: 8.469 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.004032, allocations: 12.92 kB / 0.7578 GB, free: 8.453 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.004039, allocations: 3.516 kB / 0.7578 GB, free: 8.453 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.004059, allocations: 35.86 kB / 0.7579 GB, free: 8.41 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004059, allocations: 0 / 0.7579 GB, free: 8.41 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.004191, allocations: 49.58 kB / 0.7579 GB, free: 8.355 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.004221, allocations: 51.41 kB / 0.758 GB, free: 8.293 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.004293, allocations: 101.8 kB / 0.7581 GB, free: 8.184 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.004303, allocations: 25.7 kB / 0.7581 GB, free: 8.152 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.004343, allocations: 92.22 kB / 0.7582 GB, free: 8.059 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.004353, allocations: 11.89 kB / 0.7582 GB, free: 8.047 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004378, allocations: 17.72 kB / 0.7582 GB, free: 8.023 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.00446, allocations: 314.8 kB / 0.7585 GB, free: 7.707 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.004474, allocations: 4 kB / 0.7585 GB, free: 7.703 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.004492, allocations: 17.72 kB / 0.7585 GB, free: 7.68 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.004619, allocations: 34.95 kB / 0.7586 GB, free: 7.641 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.004622, allocations: 0 / 0.7586 GB, free: 7.641 MB / 0.5887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.784e-05/0.00469, allocations: 49.69 kB / 0.7586 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.004703, allocations: 8.031 kB / 0.7586 GB, free: 7.578 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.00471, allocations: 3.938 kB / 0.7586 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.004724, allocations: 0 / 0.7586 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.00477, allocations: 11.94 kB / 0.7586 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.004776, allocations: 0 / 0.7586 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.004791, allocations: 0 / 0.7586 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.004797, allocations: 8 kB / 0.7586 GB, free: 7.555 MB / 0.5887 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001092/0.004907, allocations: 114.6 kB / 0.7588 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-06/0.004913, allocations: 11.95 kB / 0.7588 GB, free: 7.426 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.004937, allocations: 12.62 kB / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004938, allocations: 0 / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.004943, allocations: 0 / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004946, allocations: 0 / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.982e-05/0.005006, allocations: 101.3 kB / 0.7589 GB, free: 7.285 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005007, allocations: 0 / 0.7589 GB, free: 7.285 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.005046, allocations: 7.984 kB / 0.7589 GB, free: 7.277 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005047, allocations: 0 / 0.7589 GB, free: 7.277 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.005055, allocations: 0 / 0.7589 GB, free: 7.277 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005056, allocations: 3.938 kB / 0.7589 GB, free: 7.273 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005057, allocations: 0 / 0.7589 GB, free: 7.273 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.005155, allocations: 84.62 kB / 0.759 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.005164, allocations: 0 / 0.759 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005174, allocations: 5.344 kB / 0.759 GB, free: 7.172 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.005184, allocations: 3.938 kB / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.0052, allocations: 0 / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.005202, allocations: 4 kB / 0.759 GB, free: 7.164 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.00523, allocations: 83.27 kB / 0.7591 GB, free: 7.082 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.00523, allocations: 0 / 0.7591 GB, free: 7.082 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001136/0.005343, allocations: 4 kB / 0.7591 GB, free: 7.078 MB / 0.5887 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 (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 7.485e-05/0.005418, allocations: 95.34 kB / 0.7592 GB, free: 6.977 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.005487, allocations: 23.88 kB / 0.7592 GB, free: 6.953 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.00549, allocations: 0 / 0.7592 GB, free: 6.953 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.005497, allocations: 4 kB / 0.7592 GB, free: 6.949 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.005658, allocations: 10.33 kB / 0.7592 GB, free: 6.941 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.005971, allocations: 183.3 kB / 0.7594 GB, free: 6.734 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.00601, allocations: 63.34 kB / 0.7594 GB, free: 6.652 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.006031, allocations: 8.5 kB / 0.7594 GB, free: 6.645 MB / 0.5887 GB Notification: Performance of SimCode: time 6.82e-07/0.006032, allocations: 0 / 0.7594 GB, free: 6.645 MB / 0.5887 GB Notification: Performance of Templates: time 0.001537/0.007569, allocations: 0.5072 MB / 0.7599 GB, free: 6.141 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.438247259007767]