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.001035/0.001035, 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.004468/0.004468, allocations: 165 kB / 23.01 MB, free: 1.551 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.63/1.63, allocations: 273.5 MB / 0.5209 GB, free: 14.79 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.284e-06/2.284e-06, allocations: 0 / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.922e-05, allocations: 2.312 kB / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.002299/0.002328, allocations: 1.301 MB / 0.6482 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000248/0.002576, allocations: 55.42 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.002616, allocations: 0 / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.46e-05/0.002711, allocations: 6.094 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.002762, allocations: 4.594 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.002958, allocations: 13.12 kB / 0.6483 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003074, allocations: 32.75 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.003129, allocations: 6.312 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.003208, allocations: 18.25 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.003314, allocations: 11.28 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.003342, allocations: 0 / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.003352, allocations: 1.469 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.003374, allocations: 7.703 kB / 0.6484 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003405, allocations: 7.469 kB / 0.6484 GB, free: 37.72 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 8.401e-05/0.003489, allocations: 17.52 kB / 0.6484 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003492, allocations: 1 kB / 0.6484 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003493, allocations: 1.312 kB / 0.6484 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003497, allocations: 3.625 kB / 0.6484 GB, free: 37.71 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.0004187/0.003915, allocations: 373.7 kB / 0.6488 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.003959, allocations: 10.28 kB / 0.6488 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.004, allocations: 7.672 kB / 0.6488 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.00412, allocations: 110.6 kB / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004132, allocations: 3.688 kB / 0.6489 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004146, allocations: 8.125 kB / 0.6489 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.004287, allocations: 72.41 kB / 0.649 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.004299, allocations: 192 / 0.649 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.004309, allocations: 384 / 0.649 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.004319, allocations: 3.188 kB / 0.649 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.004347, allocations: 9.219 kB / 0.649 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.004636, allocations: 377.9 kB / 0.6493 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.386e-05/0.00468, allocations: 32.47 kB / 0.6494 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.004699, allocations: 7.688 kB / 0.6494 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.004715, allocations: 0 / 0.6494 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.004732, allocations: 33.39 kB / 0.6494 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004733, allocations: 1.25 kB / 0.6494 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.004883, allocations: 43.19 kB / 0.6494 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.004905, allocations: 59.19 kB / 0.6495 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.004981, allocations: 173.1 kB / 0.6497 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.00499, allocations: 25.7 kB / 0.6497 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.005033, allocations: 136.8 kB / 0.6498 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.005039, allocations: 6.438 kB / 0.6498 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.005062, allocations: 21.28 kB / 0.6499 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.005105, allocations: 493.3 kB / 0.6503 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.005118, allocations: 3.375 kB / 0.6503 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.005131, allocations: 23.2 kB / 0.6503 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.00516, allocations: 24.62 kB / 0.6504 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005163, allocations: 3.938 kB / 0.6504 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.343e-05/0.005216, allocations: 40.34 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.005229, allocations: 11.03 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.005233, allocations: 0 / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.005247, allocations: 1.156 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.005311, allocations: 9.438 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005316, allocations: 3.938 kB / 0.6504 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.005337, allocations: 8.062 kB / 0.6504 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.005343, allocations: 5.828 kB / 0.6505 GB, free: 35.57 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.751e-05/0.00538, allocations: 162.8 kB / 0.6506 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.005393, allocations: 2 kB / 0.6506 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.00547, allocations: 53.8 kB / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005472, allocations: 0 / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.005475, allocations: 0 / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005478, allocations: 2.938 kB / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.922e-05/0.005547, allocations: 117.9 kB / 0.6508 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005548, allocations: 1.75 kB / 0.6508 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.00557, allocations: 4 kB / 0.6508 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005572, allocations: 5.5 kB / 0.6508 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.005578, allocations: 1.375 kB / 0.6508 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.005579, allocations: 3.938 kB / 0.6508 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00558, allocations: 0 / 0.6508 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.944e-05/0.005639, allocations: 196.2 kB / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.005647, allocations: 1.469 kB / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.005657, allocations: 3.844 kB / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.005687, allocations: 10.19 kB / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.005716, allocations: 1.312 kB / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005718, allocations: 0 / 0.651 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.005743, allocations: 133.4 kB / 0.6511 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.005743, allocations: 0 / 0.6511 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001347/0.005877, allocations: 5.875 kB / 0.6511 GB, free: 34.89 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 6.452e-05/0.005942, allocations: 94.59 kB / 0.6512 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.006012, allocations: 22.42 kB / 0.6512 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.006013, allocations: 0 / 0.6512 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.006027, allocations: 17.31 kB / 0.6513 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.006203, allocations: 1.875 kB / 0.6513 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.006622, allocations: 138.9 kB / 0.6514 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.006647, allocations: 59.28 kB / 0.6514 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.006669, allocations: 5.656 kB / 0.6515 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.006696, allocations: 8.5 kB / 0.6515 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of SimCode: time 8.51e-07/0.006697, allocations: 1.125 kB / 0.6515 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of Templates: time 0.002068/0.008765, allocations: 480 kB / 0.6519 GB, free: 34.51 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: 5.009608521591872]