Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.0007581/0.0007581, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001719, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006765/0.0006765, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008458/0.001522, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9546/0.9546, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.055, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.8748/0.8748, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0421/0.9169, allocations: 21.04 MB / 0.5431 GB, free: 31.97 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.578e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002472/0.002498, allocations: 1.831 MB / 0.5462 GB, free: 28.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.00269, allocations: 103.5 kB / 0.5463 GB, free: 28.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.002738, allocations: 0 / 0.5463 GB, free: 28.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.002797, allocations: 7.922 kB / 0.5463 GB, free: 28.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.002859, allocations: 27.78 kB / 0.5463 GB, free: 28.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.966e-05/0.002959, allocations: 27.89 kB / 0.5464 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.003115, allocations: 95.48 kB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003221, allocations: 16.17 kB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.003312, allocations: 51.89 kB / 0.5465 GB, free: 28.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.003402, allocations: 31.89 kB / 0.5465 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.003433, allocations: 4 kB / 0.5465 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003449, allocations: 8 kB / 0.5466 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.003469, allocations: 4 kB / 0.5466 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.003509, allocations: 27.94 kB / 0.5466 GB, free: 28.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.003634, allocations: 51.84 kB / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.046e-05/0.003654, allocations: 0 / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003655, allocations: 3.938 kB / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.003677, allocations: 0 / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004761/0.004153, allocations: 308.5 kB / 0.5469 GB, free: 28.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.004192, allocations: 15.89 kB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.004232, allocations: 4.938 kB / 0.547 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004347, allocations: 121.7 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.004365, allocations: 8.375 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.004389, allocations: 8.328 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004519, allocations: 108.6 kB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.00453, allocations: 192 / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.004539, allocations: 4.312 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004547, allocations: 8.125 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.004612, allocations: 69.66 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.004885, allocations: 184.2 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.004968, allocations: 84.19 kB / 0.5475 GB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.004994, allocations: 42.55 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.005002, allocations: 4 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.005141, allocations: 171.5 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.524e-06/0.005143, allocations: 0 / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005795/0.005723, allocations: 437.7 kB / 0.5481 GB, free: 26.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.005767, allocations: 136.5 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.005817, allocations: 106.7 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005828, allocations: 29.7 kB / 0.5484 GB, free: 26.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/0.005842, allocations: 92.16 kB / 0.5485 GB, free: 26.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.005874, allocations: 43.67 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.005913, allocations: 37.7 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.005952, allocations: 318.8 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.005978, allocations: 41.69 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.006016, allocations: 81.94 kB / 0.549 GB, free: 25.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.006084, allocations: 135.5 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.006085, allocations: 4 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001115/0.006196, allocations: 156.9 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.006233, allocations: 29.7 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.00624, allocations: 4 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006253, allocations: 4.125 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.006412, allocations: 39.91 kB / 0.5494 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006417, allocations: 4 kB / 0.5494 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.006452, allocations: 8 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.00646, allocations: 4 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.083e-05/0.00653, allocations: 154.1 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.006544, allocations: 15.94 kB / 0.5495 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.006571, allocations: 12.42 kB / 0.5495 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006573, allocations: 4 kB / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.006576, allocations: 0 / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.006581, allocations: 0 / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.00681, allocations: 314.1 kB / 0.5498 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006813, allocations: 0 / 0.5498 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.006928, allocations: 36.69 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.006938, allocations: 3.953 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006942, allocations: 4 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.006952, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.006954, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.006956, allocations: 4 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.007124, allocations: 320.4 kB / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.00714, allocations: 0 / 0.5502 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.007183, allocations: 8 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.007224, allocations: 7.984 kB / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.007229, allocations: 0 / 0.5502 GB, free: 24.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.361e-05/0.007243, allocations: 8.859 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007243, allocations: 3.938 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000144/0.007387, allocations: 32 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001004/0.007487, allocations: 88.41 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.007622, allocations: 187.5 kB / 0.5505 GB, free: 23.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.007626, allocations: 0 / 0.5505 GB, free: 23.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.007672, allocations: 125.9 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.007848, allocations: 35.55 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.01095, allocations: 345.9 kB / 0.551 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.01098, allocations: 67.34 kB / 0.5511 GB, free: 23.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.01103, allocations: 12.42 kB / 0.5511 GB, free: 23.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.01111, allocations: 79.36 kB / 0.5512 GB, free: 23.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01111, allocations: 0 / 0.5512 GB, free: 23.22 MB / 410.7 MB Notification: Performance of Templates: time 0.003742/0.01486, allocations: 1.548 MB / 0.5527 GB, free: 21.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.618056785315275]