Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.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.0009229/0.0009229, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000929/0.000929, allocations: 173 kB / 23.49 MB, free: 1.055 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.9522/0.9522, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.642/1.642, allocations: 273.5 MB / 0.5213 GB, free: 14.86 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.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 0.6462 GB, free: 39.13 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.13e-05, allocations: 4.094 kB / 0.6462 GB, free: 39.12 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001413/0.001434, allocations: 1.295 MB / 0.6475 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.001575, allocations: 37.27 kB / 0.6475 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.0016, allocations: 0 / 0.6475 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.001618, allocations: 8.328 kB / 0.6475 GB, free: 38.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.001672, allocations: 8.016 kB / 0.6475 GB, free: 38.24 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.001794, allocations: 10.5 kB / 0.6475 GB, free: 38.23 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.001855, allocations: 27.89 kB / 0.6475 GB, free: 38.23 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.001891, allocations: 3.469 kB / 0.6476 GB, free: 38.23 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.001939, allocations: 16.22 kB / 0.6476 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.002025, allocations: 12.28 kB / 0.6476 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.002044, allocations: 2.719 kB / 0.6476 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.002053, allocations: 2.219 kB / 0.6476 GB, free: 38.22 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.00207, allocations: 8.484 kB / 0.6476 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.002091, allocations: 5.281 kB / 0.6476 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.08e-05/0.002152, allocations: 18.11 kB / 0.6476 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002153, allocations: 0 / 0.6476 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002154, allocations: 0 / 0.6476 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002158, allocations: 1.5 kB / 0.6476 GB, free: 38.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003139/0.002472, allocations: 374.8 kB / 0.648 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.002507, allocations: 9.281 kB / 0.648 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.002542, allocations: 10.12 kB / 0.648 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.017e-05/0.002602, allocations: 119.8 kB / 0.6481 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.00262, allocations: 384 / 0.6481 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.00263, allocations: 4.281 kB / 0.6481 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.002731, allocations: 75.5 kB / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.002738, allocations: 192 / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.002746, allocations: 4.875 kB / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.002754, allocations: 1.781 kB / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.002788, allocations: 15.56 kB / 0.6482 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.002995, allocations: 375.8 kB / 0.6486 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.00305, allocations: 36.25 kB / 0.6486 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.003074, allocations: 23.53 kB / 0.6486 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.003087, allocations: 1.312 kB / 0.6486 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.0031, allocations: 34.61 kB / 0.6487 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.003101, allocations: 0 / 0.6487 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.003251, allocations: 61.88 kB / 0.6487 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.003271, allocations: 52.44 kB / 0.6488 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.003332, allocations: 172.6 kB / 0.6489 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.003338, allocations: 25.7 kB / 0.649 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.003372, allocations: 139.7 kB / 0.6491 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-06/0.00338, allocations: 11.28 kB / 0.6491 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.003406, allocations: 25 kB / 0.6491 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.003454, allocations: 0.4886 MB / 0.6496 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.00347, allocations: 5.188 kB / 0.6496 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.003491, allocations: 26.47 kB / 0.6496 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.003532, allocations: 34.09 kB / 0.6497 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003533, allocations: 3.312 kB / 0.6497 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.575e-05/0.003599, allocations: 58.95 kB / 0.6497 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.003612, allocations: 10.84 kB / 0.6497 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.003616, allocations: 0 / 0.6497 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.003627, allocations: 1.469 kB / 0.6497 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.003715, allocations: 21.69 kB / 0.6498 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.00372, allocations: 0 / 0.6498 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.003745, allocations: 16.02 kB / 0.6498 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.003751, allocations: 5.781 kB / 0.6498 GB, free: 36.03 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 (6): * Single equations (assignments): 6 * 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.668e-05/0.003788, allocations: 155.2 kB / 0.6499 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.003804, allocations: 5.672 kB / 0.6499 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.266e-05/0.003887, allocations: 65.83 kB / 0.65 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.003888, allocations: 1.25 kB / 0.65 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.003892, allocations: 0.6562 kB / 0.65 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003895, allocations: 4.609 kB / 0.65 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.065e-05/0.003965, allocations: 115.2 kB / 0.6501 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003966, allocations: 1.406 kB / 0.6501 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.004001, allocations: 19.81 kB / 0.6501 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004002, allocations: 0 / 0.6501 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.004009, allocations: 2.312 kB / 0.6501 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004011, allocations: 3.938 kB / 0.6501 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004011, allocations: 0 / 0.6501 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.608e-05/0.004078, allocations: 206.7 kB / 0.6503 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.004086, allocations: 5.672 kB / 0.6503 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.004099, allocations: 0 / 0.6503 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.00413, allocations: 7.656 kB / 0.6503 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.004157, allocations: 5.125 kB / 0.6503 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.004161, allocations: 3.531 kB / 0.6503 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.112e-05/0.004182, allocations: 129.3 kB / 0.6505 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004182, allocations: 0 / 0.6505 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001382/0.00432, allocations: 10.88 kB / 0.6505 GB, free: 35.34 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 (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 5.608e-05/0.004376, allocations: 99.97 kB / 0.6506 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.004459, allocations: 27.97 kB / 0.6506 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00446, allocations: 1.281 kB / 0.6506 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.004478, allocations: 24.81 kB / 0.6506 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.004661, allocations: 9.469 kB / 0.6506 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.005204, allocations: 168.3 kB / 0.6508 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.005248, allocations: 71.05 kB / 0.6509 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.005278, allocations: 10.59 kB / 0.6509 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of SimCode: time 8.92e-07/0.005279, allocations: 1.562 kB / 0.6509 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of Templates: time 0.001547/0.006826, allocations: 0.6384 MB / 0.6515 GB, free: 34.95 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.348438916960731]