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.0009928/0.0009928, 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.001492/0.001492, allocations: 169 kB / 23.49 MB, free: 1.059 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.641/1.641, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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 3.036e-06/3.036e-06, allocations: 0 / 0.6462 GB, free: 39 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.684e-05, allocations: 2.312 kB / 0.6462 GB, free: 39 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.002317/0.002344, allocations: 1.295 MB / 0.6475 GB, free: 38.14 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.002606, allocations: 53.41 kB / 0.6475 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.002669, allocations: 1.281 kB / 0.6475 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.002776, allocations: 5.359 kB / 0.6475 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.002835, allocations: 6.5 kB / 0.6475 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.00305, allocations: 15.84 kB / 0.6475 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.003169, allocations: 38.48 kB / 0.6476 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.00322, allocations: 4.188 kB / 0.6476 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.0033, allocations: 11.36 kB / 0.6476 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.003412, allocations: 12.94 kB / 0.6476 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.003438, allocations: 4.281 kB / 0.6476 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.003449, allocations: 0 / 0.6476 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.003479, allocations: 5.328 kB / 0.6476 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.003517, allocations: 4.875 kB / 0.6476 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 9.168e-05/0.003609, allocations: 20.48 kB / 0.6476 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003611, allocations: 0 / 0.6476 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003612, allocations: 0 / 0.6476 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.003618, allocations: 1.375 kB / 0.6476 GB, free: 38.07 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.000448/0.004066, allocations: 375.7 kB / 0.648 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.004118, allocations: 10.38 kB / 0.648 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.004172, allocations: 8.922 kB / 0.648 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004302, allocations: 112.3 kB / 0.6481 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004314, allocations: 384 / 0.6481 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.004327, allocations: 8.219 kB / 0.6481 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.004483, allocations: 71.78 kB / 0.6482 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.004491, allocations: 192 / 0.6482 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.004501, allocations: 384 / 0.6482 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.004513, allocations: 3.094 kB / 0.6482 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.00454, allocations: 7.531 kB / 0.6482 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.004854, allocations: 383.9 kB / 0.6486 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.004897, allocations: 27.94 kB / 0.6486 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.004916, allocations: 7.688 kB / 0.6486 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.004929, allocations: 0 / 0.6486 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.00495, allocations: 36.67 kB / 0.6486 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.004951, allocations: 1.062 kB / 0.6486 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.000165/0.005116, allocations: 43.72 kB / 0.6487 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.005148, allocations: 55.25 kB / 0.6487 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.005229, allocations: 171.7 kB / 0.6489 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.005238, allocations: 25.7 kB / 0.6489 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.005289, allocations: 144.2 kB / 0.6491 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.005295, allocations: 0 / 0.6491 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.005327, allocations: 18.69 kB / 0.6491 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.005401, allocations: 497.1 kB / 0.6496 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.005419, allocations: 0.9688 kB / 0.6496 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.005439, allocations: 22.89 kB / 0.6496 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.005478, allocations: 25.38 kB / 0.6496 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00548, allocations: 0 / 0.6496 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.101e-05/0.005551, allocations: 48.25 kB / 0.6497 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.005568, allocations: 13.28 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.005573, allocations: 1.156 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.00559, allocations: 1.688 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.005657, allocations: 5.609 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.005663, allocations: 3.906 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.005693, allocations: 5.922 kB / 0.6497 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.0057, allocations: 2 kB / 0.6497 GB, free: 35.93 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 5.38e-05/0.005754, allocations: 154.1 kB / 0.6498 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.005777, allocations: 2.188 kB / 0.6498 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.005872, allocations: 50.23 kB / 0.6499 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005873, allocations: 0 / 0.6499 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.005878, allocations: 0 / 0.6499 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005881, allocations: 1.469 kB / 0.6499 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.00599, allocations: 122.6 kB / 0.65 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.005991, allocations: 3.938 kB / 0.65 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.006021, allocations: 3.719 kB / 0.65 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006022, allocations: 4.344 kB / 0.65 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.006032, allocations: 7.797 kB / 0.65 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.006033, allocations: 3.938 kB / 0.65 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.006034, allocations: 1.469 kB / 0.65 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.006118, allocations: 183.5 kB / 0.6502 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006127, allocations: 2.375 kB / 0.6502 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.006142, allocations: 8.922 kB / 0.6502 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.006194, allocations: 7.438 kB / 0.6502 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.006226, allocations: 0 / 0.6502 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006229, allocations: 2.844 kB / 0.6502 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.00627, allocations: 133.9 kB / 0.6503 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.00627, allocations: 3.938 kB / 0.6504 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002418/0.006512, allocations: 5.234 kB / 0.6504 GB, free: 35.26 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 8.831e-05/0.0066, allocations: 98.34 kB / 0.6505 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.006695, allocations: 18.7 kB / 0.6505 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006697, allocations: 0 / 0.6505 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.006715, allocations: 12.03 kB / 0.6505 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.006999, allocations: 11.75 kB / 0.6505 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.00755, allocations: 159.7 kB / 0.6506 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.735e-05/0.007608, allocations: 70.97 kB / 0.6507 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.007642, allocations: 15.03 kB / 0.6507 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of SimCode: time 7.11e-07/0.007642, allocations: 0 / 0.6507 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of Templates: time 0.001812/0.009454, allocations: 0.5831 MB / 0.6513 GB, free: 34.88 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 > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.678514251951128]