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.001019/0.001019, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001087/0.001087, allocations: 169 kB / 23.5 MB, free: 1.043 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.9889/0.9889, allocations: 177.1 MB / 203.8 MB, free: 5.23 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.569/1.569, allocations: 273.5 MB / 0.5213 GB, free: 14.87 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.123e-06/1.123e-06, allocations: 0 / 0.647 GB, free: 38.69 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.19e-05, allocations: 3.625 kB / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001219/0.001231, allocations: 1.318 MB / 0.6483 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.001422, allocations: 99.92 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.001446, allocations: 0 / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.001464, allocations: 0 / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.001516, allocations: 9.344 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.001654, allocations: 11.58 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.001704, allocations: 18.55 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.001735, allocations: 6.297 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.001762, allocations: 5.906 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.001888, allocations: 19.73 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.001901, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.001907, allocations: 2.375 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.001916, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.001938, allocations: 5.875 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.158e-05/0.001989, allocations: 11.55 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001991, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.001992, allocations: 3.156 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.001996, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 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.0002279/0.002223, allocations: 345.1 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.002259, allocations: 11.06 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.002292, allocations: 2.688 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.773e-05/0.002349, allocations: 114.4 kB / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.002359, allocations: 2.531 kB / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.002375, allocations: 5.562 kB / 0.6489 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.002447, allocations: 55.45 kB / 0.649 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.002453, allocations: 192 / 0.649 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.002461, allocations: 384 / 0.649 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.002468, allocations: 3.656 kB / 0.649 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.00249, allocations: 11.3 kB / 0.649 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.002657, allocations: 241.3 kB / 0.6492 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.002707, allocations: 44.03 kB / 0.6492 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.002721, allocations: 14.3 kB / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.002727, allocations: 2.375 kB / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.002739, allocations: 33.39 kB / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.00274, allocations: 0 / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.002871, allocations: 49.31 kB / 0.6493 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.106e-05/0.002883, allocations: 55.34 kB / 0.6494 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/0.002927, allocations: 159.2 kB / 0.6495 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.002931, allocations: 27.36 kB / 0.6496 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.002955, allocations: 134.6 kB / 0.6497 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/0.002962, allocations: 7.484 kB / 0.6497 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.002983, allocations: 22.75 kB / 0.6497 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.003018, allocations: 495.7 kB / 0.6502 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.003027, allocations: 3.328 kB / 0.6502 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.003039, allocations: 26.56 kB / 0.6502 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.003073, allocations: 27.41 kB / 0.6503 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003075, allocations: 0 / 0.6503 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.513e-05/0.00312, allocations: 53.47 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.003132, allocations: 6.312 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.003135, allocations: 0 / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.003147, allocations: 5.25 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.003196, allocations: 9.453 kB / 0.6503 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.003203, allocations: 3.938 kB / 0.6503 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.003219, allocations: 3.266 kB / 0.6503 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.003223, allocations: 1.875 kB / 0.6503 GB, free: 35.73 MB / 0.5262 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 7.402e-05/0.003297, allocations: 162.2 kB / 0.6505 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.003302, allocations: 5.109 kB / 0.6505 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.003318, allocations: 8.375 kB / 0.6505 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.003321, allocations: 8.906 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.003322, allocations: 1.625 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.003328, allocations: 3.312 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.00334, allocations: 2 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.00335, allocations: 1.469 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.003364, allocations: 4.266 kB / 0.6505 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.356e-05/0.003448, allocations: 162.7 kB / 0.6507 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.835e-05/0.003526, allocations: 320.1 kB / 0.651 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.67e-05/0.003543, allocations: 12.47 kB / 0.651 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.387e-05/0.003556, allocations: 121 kB / 0.6511 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of Backend: time 2.21e-07/0.003557, allocations: 2.812 kB / 0.6511 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.003758, allocations: 101.6 kB / 0.6512 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of SimCode: time 0.0006388/0.004397, allocations: 0.851 MB / 0.652 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of Templates: time 0.001593/0.005989, allocations: 359.3 kB / 0.6524 GB, free: 33.99 MB / 0.5262 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: 4.5487010919023305]