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.001425/0.001425, allocations: 84.44 kB / 19.93 MB, free: 4.605 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.001564/0.001564, allocations: 173.9 kB / 23.21 MB, free: 1.32 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.9217/0.9217, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.627/1.627, allocations: 273.5 MB / 0.5209 GB, free: 14.92 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.164e-06/2.164e-06, allocations: 0 / 0.7558 GB, free: 10.64 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.197e-05, allocations: 2.281 kB / 0.7558 GB, free: 10.64 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001701/0.001723, allocations: 1.28 MB / 0.757 GB, free: 9.367 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.001906, allocations: 48.88 kB / 0.7571 GB, free: 9.32 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.001937, allocations: 0 / 0.7571 GB, free: 9.32 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 7.177e-05/0.002009, allocations: 5.297 kB / 0.7571 GB, free: 9.316 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.002047, allocations: 5.25 kB / 0.7571 GB, free: 9.312 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002196, allocations: 19.92 kB / 0.7571 GB, free: 9.293 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.002283, allocations: 29.33 kB / 0.7571 GB, free: 9.27 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.002326, allocations: 4 kB / 0.7571 GB, free: 9.266 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.002401, allocations: 21.28 kB / 0.7572 GB, free: 9.246 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.002483, allocations: 10.61 kB / 0.7572 GB, free: 9.238 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.00251, allocations: 0 / 0.7572 GB, free: 9.238 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.00252, allocations: 4 kB / 0.7572 GB, free: 9.234 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.002539, allocations: 1.312 kB / 0.7572 GB, free: 9.234 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.002564, allocations: 5.75 kB / 0.7572 GB, free: 9.23 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 6.418e-05/0.002628, allocations: 17.3 kB / 0.7572 GB, free: 9.215 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00263, allocations: 3.984 kB / 0.7572 GB, free: 9.211 MB / 0.5887 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002631, allocations: 0 / 0.7572 GB, free: 9.211 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.002635, allocations: 3.938 kB / 0.7572 GB, free: 9.207 MB / 0.5887 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.000367/0.003002, allocations: 270.3 kB / 0.7575 GB, free: 8.91 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.003038, allocations: 8.031 kB / 0.7575 GB, free: 8.902 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.003067, allocations: 10.2 kB / 0.7575 GB, free: 8.895 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.003165, allocations: 109.8 kB / 0.7576 GB, free: 8.762 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.003173, allocations: 3.984 kB / 0.7576 GB, free: 8.762 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.003181, allocations: 384 / 0.7576 GB, free: 8.762 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.003293, allocations: 55.97 kB / 0.7576 GB, free: 8.695 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.003299, allocations: 192 / 0.7576 GB, free: 8.695 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003307, allocations: 4.359 kB / 0.7576 GB, free: 8.691 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003312, allocations: 4.375 kB / 0.7576 GB, free: 8.688 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.003348, allocations: 15.88 kB / 0.7577 GB, free: 8.672 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.003602, allocations: 276.7 kB / 0.7579 GB, free: 8.367 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.003647, allocations: 18.58 kB / 0.7579 GB, free: 8.34 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.00367, allocations: 14.12 kB / 0.758 GB, free: 8.324 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.00368, allocations: 3.938 kB / 0.758 GB, free: 8.32 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.003697, allocations: 34.56 kB / 0.758 GB, free: 8.277 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003698, allocations: 0 / 0.758 GB, free: 8.277 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.003832, allocations: 53.61 kB / 0.758 GB, free: 8.219 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.003857, allocations: 55.41 kB / 0.7581 GB, free: 8.152 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.003927, allocations: 117.7 kB / 0.7582 GB, free: 8.027 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.003936, allocations: 25.7 kB / 0.7582 GB, free: 7.996 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.003973, allocations: 88.09 kB / 0.7583 GB, free: 7.906 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.003978, allocations: 0 / 0.7583 GB, free: 7.906 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.004, allocations: 19.03 kB / 0.7583 GB, free: 7.883 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.004066, allocations: 319 kB / 0.7586 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.004083, allocations: 7.938 kB / 0.7586 GB, free: 7.555 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.004103, allocations: 17.72 kB / 0.7587 GB, free: 7.531 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.004142, allocations: 25.7 kB / 0.7587 GB, free: 7.5 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.004144, allocations: 0 / 0.7587 GB, free: 7.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.316e-05/0.004207, allocations: 57.58 kB / 0.7587 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.004219, allocations: 7.938 kB / 0.7587 GB, free: 7.43 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.004223, allocations: 128 / 0.7587 GB, free: 7.43 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.004232, allocations: 4 kB / 0.7588 GB, free: 7.426 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.00428, allocations: 7.984 kB / 0.7588 GB, free: 7.418 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.004284, allocations: 4 kB / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.004304, allocations: 1.312 kB / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.00431, allocations: 4 kB / 0.7588 GB, free: 7.41 MB / 0.5887 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.786e-05/0.004357, allocations: 107.2 kB / 0.7589 GB, free: 7.297 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.004376, allocations: 4 kB / 0.7589 GB, free: 7.293 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.409e-05/0.00447, allocations: 68.92 kB / 0.7589 GB, free: 7.219 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.004472, allocations: 4.031 kB / 0.7589 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004475, allocations: 0 / 0.7589 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004478, allocations: 0 / 0.7589 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.004561, allocations: 109.3 kB / 0.759 GB, free: 7.078 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004562, allocations: 0 / 0.759 GB, free: 7.078 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.004581, allocations: 4 kB / 0.7591 GB, free: 7.074 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004582, allocations: 0 / 0.7591 GB, free: 7.074 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004587, allocations: 1.312 kB / 0.7591 GB, free: 7.074 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.004589, allocations: 3.938 kB / 0.7591 GB, free: 7.07 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00459, allocations: 0 / 0.7591 GB, free: 7.07 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.483e-05/0.004665, allocations: 147.5 kB / 0.7592 GB, free: 6.91 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.004673, allocations: 7.938 kB / 0.7592 GB, free: 6.902 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.004682, allocations: 4.375 kB / 0.7592 GB, free: 6.898 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/0.004712, allocations: 3.938 kB / 0.7592 GB, free: 6.895 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.004743, allocations: 11.42 kB / 0.7592 GB, free: 6.887 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.004745, allocations: 0 / 0.7592 GB, free: 6.887 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.004775, allocations: 91.2 kB / 0.7593 GB, free: 6.797 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.004775, allocations: 0 / 0.7593 GB, free: 6.797 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001396/0.004914, allocations: 8 kB / 0.7593 GB, free: 6.789 MB / 0.5887 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.847e-05/0.004973, allocations: 92.89 kB / 0.7594 GB, free: 6.691 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.005043, allocations: 20.02 kB / 0.7594 GB, free: 6.672 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005045, allocations: 0 / 0.7594 GB, free: 6.672 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.005062, allocations: 7.938 kB / 0.7594 GB, free: 6.664 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.005239, allocations: 15.98 kB / 0.7594 GB, free: 6.648 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.005476, allocations: 146.4 kB / 0.7596 GB, free: 6.473 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.005519, allocations: 63.34 kB / 0.7596 GB, free: 6.391 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.005542, allocations: 8.688 kB / 0.7597 GB, free: 6.383 MB / 0.5887 GB Notification: Performance of SimCode: time 6.22e-07/0.005543, allocations: 8 kB / 0.7597 GB, free: 6.375 MB / 0.5887 GB Notification: Performance of Templates: time 0.001346/0.006889, allocations: 0.5735 MB / 0.7602 GB, free: 5.805 MB / 0.5887 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 > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.336258927825838]