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.001905/0.001905, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.002007/0.002007, allocations: 169.9 kB / 22.45 MB, free: 2.098 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.669/1.669, allocations: 177.1 MB / 202.8 MB, free: 5.777 MB / 186.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.446/3.446, allocations: 274 MB / 0.5207 GB, free: 14.91 MB / 458.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.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.964e-06/1.964e-06, allocations: 0 / 0.7563 GB, free: 9.969 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.155e-05, allocations: 3.406 kB / 0.7563 GB, free: 9.965 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002506/0.002538, allocations: 1.292 MB / 0.7575 GB, free: 8.68 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.002844, allocations: 107.6 kB / 0.7576 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.002873, allocations: 1.203 kB / 0.7576 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.002892, allocations: 0 / 0.7576 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.002947, allocations: 5.297 kB / 0.7576 GB, free: 8.57 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.003109, allocations: 9.25 kB / 0.7576 GB, free: 8.562 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.003172, allocations: 26.97 kB / 0.7577 GB, free: 8.543 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.003221, allocations: 8 kB / 0.7577 GB, free: 8.535 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.003252, allocations: 5.422 kB / 0.7577 GB, free: 8.531 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.003396, allocations: 7.984 kB / 0.7577 GB, free: 8.523 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.003409, allocations: 0 / 0.7577 GB, free: 8.523 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.003422, allocations: 4 kB / 0.7577 GB, free: 8.52 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.003433, allocations: 1.422 kB / 0.7577 GB, free: 8.52 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003453, allocations: 4 kB / 0.7577 GB, free: 8.516 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 6.036e-05/0.003513, allocations: 13.28 kB / 0.7577 GB, free: 8.504 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003515, allocations: 0 / 0.7577 GB, free: 8.504 MB / 0.5887 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003516, allocations: 4 kB / 0.7577 GB, free: 8.5 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.00352, allocations: 0 / 0.7577 GB, free: 8.5 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.0003825/0.003902, allocations: 246.4 kB / 0.7579 GB, free: 8.227 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.003946, allocations: 12.03 kB / 0.758 GB, free: 8.215 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.003976, allocations: 0.9375 kB / 0.758 GB, free: 8.215 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.00409, allocations: 105.8 kB / 0.7581 GB, free: 8.086 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.004107, allocations: 8.375 kB / 0.7581 GB, free: 8.078 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.004127, allocations: 5.734 kB / 0.7581 GB, free: 8.074 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.004236, allocations: 43.97 kB / 0.7581 GB, free: 8.02 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004245, allocations: 7.922 kB / 0.7581 GB, free: 8.016 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004253, allocations: 8.375 kB / 0.7581 GB, free: 8.008 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004258, allocations: 384 / 0.7581 GB, free: 8.008 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.004309, allocations: 11.94 kB / 0.7581 GB, free: 7.996 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.004591, allocations: 193.3 kB / 0.7583 GB, free: 7.773 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.004674, allocations: 30.64 kB / 0.7584 GB, free: 7.734 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.004694, allocations: 4.859 kB / 0.7584 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.004701, allocations: 0 / 0.7584 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.004737, allocations: 38.61 kB / 0.7584 GB, free: 7.68 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.004738, allocations: 0 / 0.7584 GB, free: 7.68 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.004887, allocations: 49.58 kB / 0.7584 GB, free: 7.625 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.004937, allocations: 52.72 kB / 0.7585 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.005048, allocations: 105.8 kB / 0.7586 GB, free: 7.449 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.005067, allocations: 25.7 kB / 0.7586 GB, free: 7.418 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.005127, allocations: 84.09 kB / 0.7587 GB, free: 7.332 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.005137, allocations: 3.953 kB / 0.7587 GB, free: 7.328 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.005183, allocations: 17.72 kB / 0.7587 GB, free: 7.305 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.005419, allocations: 318.8 kB / 0.759 GB, free: 6.984 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.00544, allocations: 0 / 0.759 GB, free: 6.984 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.00548, allocations: 17.72 kB / 0.759 GB, free: 6.961 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.005709, allocations: 41.77 kB / 0.7591 GB, free: 6.914 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005711, allocations: 0 / 0.7591 GB, free: 6.914 MB / 0.5887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.005812, allocations: 49.69 kB / 0.7591 GB, free: 6.859 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005825, allocations: 9.25 kB / 0.7591 GB, free: 6.852 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.005831, allocations: 7.938 kB / 0.7591 GB, free: 6.844 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.005845, allocations: 0 / 0.7591 GB, free: 6.844 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.005902, allocations: 4 kB / 0.7591 GB, free: 6.84 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.005908, allocations: 0 / 0.7591 GB, free: 6.84 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.005935, allocations: 4 kB / 0.7592 GB, free: 6.836 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.005939, allocations: 0 / 0.7592 GB, free: 6.836 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.0001268/0.006066, allocations: 117.9 kB / 0.7593 GB, free: 6.711 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.006077, allocations: 3.953 kB / 0.7593 GB, free: 6.707 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.006114, allocations: 15.2 kB / 0.7593 GB, free: 6.691 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.006117, allocations: 4 kB / 0.7593 GB, free: 6.688 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006121, allocations: 0 / 0.7593 GB, free: 6.688 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.006124, allocations: 4.75 kB / 0.7593 GB, free: 6.688 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.006219, allocations: 97.33 kB / 0.7594 GB, free: 6.562 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00622, allocations: 0 / 0.7594 GB, free: 6.562 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.006269, allocations: 11.98 kB / 0.7594 GB, free: 6.551 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.00627, allocations: 4 kB / 0.7594 GB, free: 6.547 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.006277, allocations: 0 / 0.7594 GB, free: 6.547 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.00628, allocations: 7.875 kB / 0.7594 GB, free: 6.539 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006281, allocations: 0 / 0.7594 GB, free: 6.539 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.006407, allocations: 73.06 kB / 0.7595 GB, free: 6.449 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.006418, allocations: 4.031 kB / 0.7595 GB, free: 6.445 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.006428, allocations: 0 / 0.7595 GB, free: 6.445 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.006451, allocations: 3.938 kB / 0.7595 GB, free: 6.441 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.006463, allocations: 0 / 0.7595 GB, free: 6.441 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.00647, allocations: 9.516 kB / 0.7595 GB, free: 6.434 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.006519, allocations: 79.27 kB / 0.7596 GB, free: 6.355 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7e-08/0.006519, allocations: 0 / 0.7596 GB, free: 6.355 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001764/0.006695, allocations: 8 kB / 0.7596 GB, free: 6.348 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 0.0001038/0.006799, allocations: 95.25 kB / 0.7597 GB, free: 6.246 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.006876, allocations: 11.94 kB / 0.7597 GB, free: 6.234 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006877, allocations: 0 / 0.7597 GB, free: 6.234 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.006885, allocations: 4 kB / 0.7597 GB, free: 6.23 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.007093, allocations: 22.7 kB / 0.7597 GB, free: 6.211 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.00745, allocations: 152.2 kB / 0.7599 GB, free: 6.039 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.007505, allocations: 59.34 kB / 0.7599 GB, free: 5.961 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.007525, allocations: 5.312 kB / 0.7599 GB, free: 5.957 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.00755, allocations: 12.5 kB / 0.7599 GB, free: 5.945 MB / 0.5887 GB Notification: Performance of SimCode: time 6.41e-07/0.007551, allocations: 0 / 0.7599 GB, free: 5.945 MB / 0.5887 GB Notification: Performance of Templates: time 0.003066/0.01062, allocations: 370.1 kB / 0.7603 GB, free: 5.594 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.837227246258408]