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.001042/0.001042, allocations: 89.08 kB / 19.42 MB, free: 488 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.001539/0.001539, allocations: 169 kB / 22.72 MB, free: 1.824 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.103/1.103, allocations: 177.2 MB / 203.1 MB, free: 5.602 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.748/1.748, allocations: 273.5 MB / 0.5205 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 2.284e-06/2.284e-06, allocations: 0 / 0.6462 GB, free: 38.56 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.797e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.56 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001752/0.00178, allocations: 1.291 MB / 0.6475 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001791/0.001959, allocations: 54.77 kB / 0.6476 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.001985, allocations: 2.359 kB / 0.6476 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.002035, allocations: 1.312 kB / 0.6476 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.002066, allocations: 6.359 kB / 0.6476 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.002183, allocations: 15.12 kB / 0.6476 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.002251, allocations: 31.42 kB / 0.6476 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.807e-05/0.002279, allocations: 2.219 kB / 0.6476 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.002327, allocations: 20.75 kB / 0.6476 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.002392, allocations: 10.02 kB / 0.6476 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.002406, allocations: 2.094 kB / 0.6476 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.002414, allocations: 0 / 0.6476 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.00243, allocations: 5.594 kB / 0.6476 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.002451, allocations: 9.953 kB / 0.6477 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.98e-05/0.002511, allocations: 22.06 kB / 0.6477 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002513, allocations: 3.438 kB / 0.6477 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002514, allocations: 1.312 kB / 0.6477 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.002518, allocations: 0 / 0.6477 GB, free: 37.63 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.0002943/0.002812, allocations: 372.7 kB / 0.648 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.002848, allocations: 9.531 kB / 0.648 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.002878, allocations: 6.797 kB / 0.648 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.002962, allocations: 115.1 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.002969, allocations: 4.375 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.002979, allocations: 2.125 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/0.003069, allocations: 69.23 kB / 0.6482 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.00308, allocations: 1.531 kB / 0.6482 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003089, allocations: 2 kB / 0.6482 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.003097, allocations: 384 / 0.6482 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.003122, allocations: 16.08 kB / 0.6483 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.003336, allocations: 376.8 kB / 0.6486 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.831e-05/0.003364, allocations: 28.62 kB / 0.6486 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.003379, allocations: 10.91 kB / 0.6486 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.003392, allocations: 3.375 kB / 0.6487 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.003406, allocations: 39.86 kB / 0.6487 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.003406, allocations: 0 / 0.6487 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001034/0.00351, allocations: 36.95 kB / 0.6487 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.003528, allocations: 52.72 kB / 0.6488 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.003587, allocations: 179.7 kB / 0.6489 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.003593, allocations: 26.86 kB / 0.649 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.003629, allocations: 136.6 kB / 0.6491 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.003634, allocations: 2.375 kB / 0.6491 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.003656, allocations: 22.62 kB / 0.6491 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.003714, allocations: 498 kB / 0.6496 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.003731, allocations: 0.9688 kB / 0.6496 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.003747, allocations: 18.78 kB / 0.6496 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.003773, allocations: 24.34 kB / 0.6496 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.003775, allocations: 0 / 0.6496 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.741e-05/0.003822, allocations: 48.34 kB / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.003835, allocations: 12.17 kB / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.003838, allocations: 0 / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.003852, allocations: 1.938 kB / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.003896, allocations: 8.516 kB / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.003901, allocations: 1.938 kB / 0.6497 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.003923, allocations: 12.3 kB / 0.6497 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.003928, allocations: 3.531 kB / 0.6497 GB, free: 35.49 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.887e-05/0.003967, allocations: 154.5 kB / 0.6499 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.003981, allocations: 7.75 kB / 0.6499 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.004049, allocations: 48.94 kB / 0.6499 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00405, allocations: 0 / 0.6499 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.004053, allocations: 3.703 kB / 0.6499 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004056, allocations: 0 / 0.6499 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.148e-05/0.004128, allocations: 117.3 kB / 0.65 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004129, allocations: 1.406 kB / 0.65 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.004145, allocations: 6.688 kB / 0.6501 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.004147, allocations: 1.719 kB / 0.6501 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.004152, allocations: 1.188 kB / 0.6501 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.004153, allocations: 3.938 kB / 0.6501 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004154, allocations: 2.344 kB / 0.6501 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.878e-05/0.004222, allocations: 194.4 kB / 0.6502 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.00423, allocations: 2.219 kB / 0.6502 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.004239, allocations: 2.875 kB / 0.6503 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.00427, allocations: 7.656 kB / 0.6503 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.004293, allocations: 5.969 kB / 0.6503 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.004295, allocations: 0 / 0.6503 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.004321, allocations: 135.2 kB / 0.6504 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.004321, allocations: 1.5 kB / 0.6504 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001306/0.004451, allocations: 4.406 kB / 0.6504 GB, free: 34.82 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 5.9e-05/0.00451, allocations: 94.56 kB / 0.6505 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.218e-05/0.004583, allocations: 17.69 kB / 0.6505 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004584, allocations: 4 kB / 0.6505 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.004599, allocations: 16.69 kB / 0.6505 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.004762, allocations: 1.938 kB / 0.6505 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.005095, allocations: 131.5 kB / 0.6507 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.401e-05/0.005119, allocations: 61.55 kB / 0.6507 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.005135, allocations: 3.125 kB / 0.6507 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.005155, allocations: 10.88 kB / 0.6507 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of SimCode: time 4.21e-07/0.005155, allocations: 5.281 kB / 0.6507 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of Templates: time 0.001983/0.007138, allocations: 482.4 kB / 0.6512 GB, free: 34.42 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.151072446256876]