Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001874/0.001874, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 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.001994/0.001994, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.374/3.374, allocations: 274.5 MB / 0.5215 GB, free: 14.14 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.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.312 kB / 0.6472 GB, free: 39.19 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.226e-05, allocations: 4.703 kB / 0.6472 GB, free: 39.18 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001813/0.001835, allocations: 1.281 MB / 0.6485 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.002037, allocations: 54.94 kB / 0.6485 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.002074, allocations: 1.469 kB / 0.6485 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.961e-05/0.002154, allocations: 0 / 0.6485 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.002198, allocations: 6.422 kB / 0.6485 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.002364, allocations: 20.31 kB / 0.6485 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.818e-05/0.002452, allocations: 29.34 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.002488, allocations: 5.156 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.002558, allocations: 15.69 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.002641, allocations: 9.281 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.002658, allocations: 3.469 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.002666, allocations: 0 / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.002686, allocations: 5.25 kB / 0.6486 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.002709, allocations: 13.86 kB / 0.6486 GB, free: 38.26 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.039e-05/0.00277, allocations: 18.31 kB / 0.6486 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002771, allocations: 0 / 0.6486 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002772, allocations: 2.25 kB / 0.6486 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.002775, allocations: 0 / 0.6486 GB, free: 38.25 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.0003874/0.003163, allocations: 373.2 kB / 0.649 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.003194, allocations: 9.594 kB / 0.649 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.003231, allocations: 6.797 kB / 0.649 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.003325, allocations: 117.5 kB / 0.6491 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.003335, allocations: 2.281 kB / 0.6491 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003343, allocations: 1.375 kB / 0.6491 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.003457, allocations: 56.72 kB / 0.6492 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.003466, allocations: 2.344 kB / 0.6492 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.003472, allocations: 1.5 kB / 0.6492 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.003476, allocations: 384 / 0.6492 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.777e-05/0.003534, allocations: 24.28 kB / 0.6492 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.00377, allocations: 371.8 kB / 0.6496 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.003828, allocations: 34.17 kB / 0.6496 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.003858, allocations: 16.69 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.003872, allocations: 1.688 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.003883, allocations: 33.39 kB / 0.6496 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.003884, allocations: 1.844 kB / 0.6496 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.004067, allocations: 46.66 kB / 0.6497 GB, free: 37.15 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.004085, allocations: 52.72 kB / 0.6497 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.004158, allocations: 181.2 kB / 0.6499 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.004165, allocations: 26.98 kB / 0.6499 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.004205, allocations: 137.5 kB / 0.6501 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/0.00421, allocations: 0 / 0.6501 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.004239, allocations: 20.19 kB / 0.6501 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.0043, allocations: 0.4892 MB / 0.6506 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.00433, allocations: 3.5 kB / 0.6506 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.004358, allocations: 22.66 kB / 0.6506 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.004412, allocations: 27.27 kB / 0.6506 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004413, allocations: 1.375 kB / 0.6506 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.595e-05/0.004499, allocations: 56.62 kB / 0.6507 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.00451, allocations: 12.47 kB / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.004515, allocations: 3.938 kB / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.004526, allocations: 0 / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.004587, allocations: 9.297 kB / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.004592, allocations: 0 / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.004633, allocations: 3.469 kB / 0.6507 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.004639, allocations: 1.906 kB / 0.6507 GB, free: 36.13 MB / 0.5262 GB 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 (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 prepare postOptimizeDAE: time 4.061e-05/0.00468, allocations: 159.7 kB / 0.6509 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.004703, allocations: 5.781 kB / 0.6509 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.004815, allocations: 57.73 kB / 0.6509 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004817, allocations: 1.406 kB / 0.6509 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.00482, allocations: 0 / 0.6509 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.004822, allocations: 1.531 kB / 0.6509 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.994e-05/0.004912, allocations: 121.9 kB / 0.651 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.004914, allocations: 5.094 kB / 0.651 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.004964, allocations: 5.781 kB / 0.651 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.004966, allocations: 0 / 0.651 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.004973, allocations: 8.906 kB / 0.6511 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.004975, allocations: 6.312 kB / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004976, allocations: 0 / 0.6511 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.005082, allocations: 196 kB / 0.6513 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.005092, allocations: 6.156 kB / 0.6513 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.005104, allocations: 4 kB / 0.6513 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.005168, allocations: 7 kB / 0.6513 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.005199, allocations: 5.078 kB / 0.6513 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.005202, allocations: 0 / 0.6513 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.005236, allocations: 139.2 kB / 0.6514 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005236, allocations: 0 / 0.6514 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002021/0.005438, allocations: 3.812 kB / 0.6514 GB, free: 35.45 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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 5.726e-05/0.005495, allocations: 93.97 kB / 0.6515 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.0056, allocations: 25.91 kB / 0.6515 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005601, allocations: 1.281 kB / 0.6515 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.005634, allocations: 13.56 kB / 0.6515 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.00586, allocations: 8.812 kB / 0.6515 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.006104, allocations: 127 kB / 0.6517 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.006145, allocations: 72.47 kB / 0.6517 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.00617, allocations: 1.312 kB / 0.6517 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.006195, allocations: 12.5 kB / 0.6517 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of SimCode: time 4.2e-07/0.006196, allocations: 0 / 0.6517 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of Templates: time 0.002837/0.009032, allocations: 485 kB / 0.6522 GB, free: 35.06 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.302751848008484]