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.0009995/0.0009995, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.000893/0.000893, allocations: 173 kB / 23.28 MB, free: 1.219 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.928/0.928, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.638/1.638, allocations: 273.5 MB / 0.5212 GB, free: 14.75 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.693e-06/1.693e-06, allocations: 1.312 kB / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.277e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002466/0.002489, allocations: 1.534 MB / 0.6489 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0005928/0.003082, allocations: 322.9 kB / 0.6492 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.003124, allocations: 1.875 kB / 0.6492 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.00342, allocations: 50.52 kB / 0.6492 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.003492, allocations: 15.33 kB / 0.6493 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.003796, allocations: 106.2 kB / 0.6494 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.003885, allocations: 54.3 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.003922, allocations: 9.25 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.003978, allocations: 23.16 kB / 0.6494 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.004071, allocations: 27.45 kB / 0.6495 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.004086, allocations: 3.062 kB / 0.6495 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.004297, allocations: 139.5 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.004341, allocations: 19.41 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.004367, allocations: 12.64 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.004606, allocations: 172.8 kB / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004609, allocations: 0 / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004609, allocations: 0 / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004613, allocations: 1.312 kB / 0.6498 GB, free: 37.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003211/0.004934, allocations: 414.3 kB / 0.6502 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.004973, allocations: 8.969 kB / 0.6502 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.005108, allocations: 32.75 kB / 0.6502 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.005176, allocations: 132 kB / 0.6504 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.005188, allocations: 384 / 0.6504 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.005202, allocations: 6.906 kB / 0.6504 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.005309, allocations: 79.11 kB / 0.6504 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.005317, allocations: 3.016 kB / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.005324, allocations: 384 / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005329, allocations: 384 / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.005363, allocations: 24.75 kB / 0.6505 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.005678, allocations: 425 kB / 0.6509 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.005801, allocations: 56.22 kB / 0.6509 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.005823, allocations: 20.92 kB / 0.651 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.00583, allocations: 1.531 kB / 0.651 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.005846, allocations: 37.2 kB / 0.651 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.005847, allocations: 0 / 0.651 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001786/0.006026, allocations: 92.47 kB / 0.6511 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.006044, allocations: 57.05 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.006153, allocations: 222 kB / 0.6513 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.00616, allocations: 31.56 kB / 0.6514 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.0062, allocations: 142 kB / 0.6515 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.006218, allocations: 19.75 kB / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.006253, allocations: 33.83 kB / 0.6516 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.006308, allocations: 0.4955 MB / 0.652 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.006327, allocations: 7.438 kB / 0.6521 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.006354, allocations: 34.3 kB / 0.6521 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.006428, allocations: 61.95 kB / 0.6521 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00643, allocations: 0 / 0.6521 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.00655, allocations: 92.02 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006562, allocations: 7.062 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006568, allocations: 2.219 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.006581, allocations: 3.938 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.006632, allocations: 14.19 kB / 0.6523 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.006636, allocations: 4.062 kB / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.006661, allocations: 2.375 kB / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.006703, allocations: 23.3 kB / 0.6523 GB, free: 34.88 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 ) 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.921e-05/0.006792, allocations: 167.2 kB / 0.6524 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.006839, allocations: 19.7 kB / 0.6525 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.006866, allocations: 15.52 kB / 0.6525 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006868, allocations: 3.938 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006869, allocations: 1.188 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006872, allocations: 2.938 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.007005, allocations: 124.4 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007006, allocations: 1.438 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.007056, allocations: 12.64 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007058, allocations: 0 / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007064, allocations: 6.219 kB / 0.6526 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007066, allocations: 1.5 kB / 0.6526 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.007067, allocations: 3.312 kB / 0.6526 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.007242, allocations: 257.9 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.007253, allocations: 7.109 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007264, allocations: 1.562 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.007315, allocations: 0 / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.007329, allocations: 11.25 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.007353, allocations: 23.06 kB / 0.6529 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.007402, allocations: 153.1 kB / 0.6531 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.007402, allocations: 0 / 0.6531 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002746/0.007676, allocations: 28.17 kB / 0.6531 GB, free: 34.21 MB / 0.5262 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.0001763/0.007853, allocations: 148.4 kB / 0.6532 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.00794, allocations: 38.75 kB / 0.6533 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007942, allocations: 0 / 0.6533 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.007967, allocations: 30.78 kB / 0.6533 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.008234, allocations: 13 kB / 0.6533 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.009031, allocations: 270.7 kB / 0.6536 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.009065, allocations: 70.22 kB / 0.6536 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.009139, allocations: 58.67 kB / 0.6537 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.009182, allocations: 73.67 kB / 0.6538 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of SimCode: time 6.31e-07/0.009183, allocations: 0.5 kB / 0.6538 GB, free: 33.73 MB / 0.5262 GB Notification: Performance of Templates: time 0.003791/0.01297, allocations: 1.509 MB / 0.6552 GB, free: 33.57 MB / 0.5262 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.589076132047921]