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.00102/0.00102, allocations: 93.06 kB / 19.65 MB, free: 276 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.001068/0.001068, allocations: 169 kB / 23.02 MB, free: 1.547 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.699/1.699, allocations: 273.5 MB / 0.5209 GB, free: 14.8 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.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 2.394e-06/2.394e-06, allocations: 0 / 0.647 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.546e-05, allocations: 2.312 kB / 0.647 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001789/0.001815, allocations: 1.304 MB / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.002014, allocations: 59.72 kB / 0.6483 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.002049, allocations: 5.594 kB / 0.6483 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 8.595e-05/0.002135, allocations: 1.562 kB / 0.6483 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.002198, allocations: 6.891 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.002393, allocations: 15.25 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.002504, allocations: 26.25 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.002552, allocations: 6.516 kB / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.002628, allocations: 11.72 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.002728, allocations: 19.23 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.002749, allocations: 2.781 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.002758, allocations: 1.25 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.002778, allocations: 4.266 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.002813, allocations: 2.656 kB / 0.6484 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.002901, allocations: 26.38 kB / 0.6484 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.002905, allocations: 0 / 0.6484 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.002907, allocations: 0 / 0.6484 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.002912, allocations: 1.688 kB / 0.6484 GB, free: 37.55 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.0003868/0.003299, allocations: 374.5 kB / 0.6488 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.003337, allocations: 10.09 kB / 0.6488 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.003379, allocations: 7.203 kB / 0.6488 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.003479, allocations: 117.3 kB / 0.6489 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.003488, allocations: 1.938 kB / 0.6489 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.003498, allocations: 2.812 kB / 0.6489 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.003618, allocations: 69.05 kB / 0.649 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.003626, allocations: 3.516 kB / 0.649 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.003639, allocations: 1.438 kB / 0.649 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.003646, allocations: 384 / 0.649 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.003667, allocations: 13.75 kB / 0.649 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.003925, allocations: 383.1 kB / 0.6493 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.003962, allocations: 24.59 kB / 0.6494 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.003981, allocations: 8.812 kB / 0.6494 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.003993, allocations: 1.531 kB / 0.6494 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.00401, allocations: 41.66 kB / 0.6494 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.004011, allocations: 0 / 0.6494 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.00415, allocations: 42.38 kB / 0.6495 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.00417, allocations: 52.28 kB / 0.6495 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.004237, allocations: 169.4 kB / 0.6497 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.004243, allocations: 26.73 kB / 0.6497 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.004283, allocations: 142.5 kB / 0.6498 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.004288, allocations: 0 / 0.6498 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.004311, allocations: 19.22 kB / 0.6499 GB, free: 36 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.004353, allocations: 497.5 kB / 0.6503 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.004366, allocations: 0 / 0.6503 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.00438, allocations: 26.97 kB / 0.6504 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.00442, allocations: 27.78 kB / 0.6504 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004422, allocations: 1.422 kB / 0.6504 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.904e-05/0.004471, allocations: 42.53 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.004485, allocations: 13.3 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004489, allocations: 1.438 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.004502, allocations: 2.656 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.00457, allocations: 3.656 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004575, allocations: 0.5625 kB / 0.6504 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.0046, allocations: 9.031 kB / 0.6505 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.004608, allocations: 3.562 kB / 0.6505 GB, free: 35.41 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 3.935e-05/0.004647, allocations: 154.6 kB / 0.6506 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.004661, allocations: 8.406 kB / 0.6506 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-05/0.004742, allocations: 52.25 kB / 0.6507 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.004745, allocations: 1.375 kB / 0.6507 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004748, allocations: 1.312 kB / 0.6507 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.00475, allocations: 0 / 0.6507 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.004828, allocations: 118.3 kB / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00483, allocations: 1.375 kB / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.004857, allocations: 5.75 kB / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004859, allocations: 0 / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.004864, allocations: 1.281 kB / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.004866, allocations: 9.234 kB / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004867, allocations: 0 / 0.6508 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.009e-05/0.004927, allocations: 187.1 kB / 0.651 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.004937, allocations: 5.906 kB / 0.651 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.004948, allocations: 5.094 kB / 0.651 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.00498, allocations: 11.36 kB / 0.651 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.00501, allocations: 3.5 kB / 0.651 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005013, allocations: 0 / 0.651 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.005039, allocations: 133.8 kB / 0.6511 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005039, allocations: 0 / 0.6511 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001346/0.005173, allocations: 4.906 kB / 0.6511 GB, free: 34.73 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 7.489e-05/0.005248, allocations: 92.84 kB / 0.6512 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.005327, allocations: 18.91 kB / 0.6512 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005329, allocations: 0 / 0.6512 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.005343, allocations: 16.19 kB / 0.6512 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.005613, allocations: 7.719 kB / 0.6513 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.006127, allocations: 134 kB / 0.6514 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.006161, allocations: 60.97 kB / 0.6514 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.006193, allocations: 8.125 kB / 0.6515 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.006225, allocations: 10.16 kB / 0.6515 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.242e-06/0.006226, allocations: 1.125 kB / 0.6515 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.002326/0.008552, allocations: 499.9 kB / 0.6519 GB, free: 34.34 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: 4.737829856108874]