Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.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.0009212/0.0009212, 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.0009413/0.0009413, allocations: 177 kB / 23.5 MB, free: 1.051 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.9834/0.9834, allocations: 177.1 MB / 203.8 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.56/1.56, allocations: 273.5 MB / 0.5213 GB, free: 14.87 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.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") translateModel(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.6462 GB, free: 39.07 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.73e-05, allocations: 5.547 kB / 0.6462 GB, free: 39.07 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.0009156/0.0009329, allocations: 0.5173 MB / 0.6467 GB, free: 38.79 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.001063, allocations: 19.94 kB / 0.6467 GB, free: 38.78 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.001086, allocations: 0 / 0.6467 GB, free: 38.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.001101, allocations: 0 / 0.6467 GB, free: 38.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 1.92e-05/0.00112, allocations: 6.625 kB / 0.6467 GB, free: 38.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.001244, allocations: 11.36 kB / 0.6467 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.001295, allocations: 12.3 kB / 0.6467 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.001332, allocations: 3.25 kB / 0.6467 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.001364, allocations: 9 kB / 0.6468 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.001423, allocations: 4.688 kB / 0.6468 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.001441, allocations: 3.75 kB / 0.6468 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-06/0.001449, allocations: 1 kB / 0.6468 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.001464, allocations: 5.188 kB / 0.6468 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.001485, allocations: 7.938 kB / 0.6468 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.154e-05/0.001547, allocations: 15.84 kB / 0.6468 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.001549, allocations: 0 / 0.6468 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.001549, allocations: 0 / 0.6468 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.001554, allocations: 2.484 kB / 0.6468 GB, free: 38.75 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.0002586/0.001812, allocations: 351.1 kB / 0.6471 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.001848, allocations: 11.28 kB / 0.6471 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.00188, allocations: 4.891 kB / 0.6471 GB, free: 38.38 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.896e-05/0.001939, allocations: 114.9 kB / 0.6473 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.00195, allocations: 5.062 kB / 0.6473 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.00197, allocations: 4.312 kB / 0.6473 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.00204, allocations: 37.83 kB / 0.6473 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002047, allocations: 3.609 kB / 0.6473 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.002056, allocations: 384 / 0.6473 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.002062, allocations: 1.625 kB / 0.6473 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.002085, allocations: 6.75 kB / 0.6473 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.002276, allocations: 122.5 kB / 0.6474 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.002362, allocations: 53.94 kB / 0.6475 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.002378, allocations: 11.34 kB / 0.6475 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.002385, allocations: 0 / 0.6475 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.002401, allocations: 36.33 kB / 0.6475 GB, free: 37.97 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.002401, allocations: 0 / 0.6475 GB, free: 37.97 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0001182/0.00252, allocations: 55.5 kB / 0.6476 GB, free: 37.93 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.002539, allocations: 51.41 kB / 0.6476 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.103e-05/0.00258, allocations: 162.8 kB / 0.6478 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.002586, allocations: 26.45 kB / 0.6478 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.002608, allocations: 136.7 kB / 0.6479 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.002632, allocations: 9.734 kB / 0.6479 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.002658, allocations: 23.22 kB / 0.648 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.0027, allocations: 0.4884 MB / 0.6484 GB, free: 37 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.002716, allocations: 3.656 kB / 0.6485 GB, free: 37 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.002728, allocations: 7.688 kB / 0.6485 GB, free: 37 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.002763, allocations: 19.97 kB / 0.6485 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.002764, allocations: 1.312 kB / 0.6485 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.358e-05/0.002818, allocations: 58.45 kB / 0.6485 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.002831, allocations: 5.844 kB / 0.6485 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.002835, allocations: 1.281 kB / 0.6485 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.002847, allocations: 0 / 0.6485 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.213e-05/0.002879, allocations: 13.47 kB / 0.6486 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.002883, allocations: 1.5 kB / 0.6486 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.002894, allocations: 10.38 kB / 0.6486 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.002899, allocations: 0 / 0.6486 GB, free: 36.93 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 3.601e-05/0.002935, allocations: 159.6 kB / 0.6487 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.002941, allocations: 3.031 kB / 0.6487 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.002958, allocations: 9.906 kB / 0.6487 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00296, allocations: 0 / 0.6487 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.002962, allocations: 0 / 0.6487 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.002965, allocations: 5.25 kB / 0.6487 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.973e-05/0.003045, allocations: 121.7 kB / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.003045, allocations: 0 / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.003069, allocations: 7.516 kB / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.003071, allocations: 0 / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.003082, allocations: 2.375 kB / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003083, allocations: 1.422 kB / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003084, allocations: 1.438 kB / 0.6489 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.574e-05/0.003169, allocations: 102 kB / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.003176, allocations: 4.578 kB / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.003185, allocations: 1.25 kB / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.003193, allocations: 3.781 kB / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.003205, allocations: 0 / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.003207, allocations: 0 / 0.649 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.624e-05/0.003223, allocations: 130.2 kB / 0.6491 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003223, allocations: 0 / 0.6491 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001201/0.003343, allocations: 8.344 kB / 0.6491 GB, free: 36.39 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Gut,Central) * 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 (3): * Single equations (assignments): 3 * 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.868e-05/0.003402, allocations: 93.19 kB / 0.6492 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.003475, allocations: 35.09 kB / 0.6492 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.003476, allocations: 2.688 kB / 0.6492 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.003488, allocations: 13.56 kB / 0.6492 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.00359, allocations: 7.172 kB / 0.6492 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.00383, allocations: 166.1 kB / 0.6494 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.003861, allocations: 68.25 kB / 0.6495 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.003882, allocations: 9.875 kB / 0.6495 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of SimCode: time 5.01e-07/0.003883, allocations: 0 / 0.6495 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of Templates: time 0.001345/0.005228, allocations: 0.533 MB / 0.65 GB, free: 36.02 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2 > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2958361860364676]