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.001043/0.001043, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001237/0.001237, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9836/0.9836, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.729/1.729, allocations: 273.5 MB / 0.522 GB, free: 14.75 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.153e-06/1.153e-06, allocations: 0 / 0.6481 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/1.094e-05, allocations: 6.031 kB / 0.6482 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.0009435/0.0009545, allocations: 0.5234 MB / 0.6487 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 9.613e-05/0.001051, allocations: 22.67 kB / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.00107, allocations: 0 / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.00108, allocations: 3.938 kB / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 1.598e-05/0.001096, allocations: 1.312 kB / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 8.281e-05/0.001179, allocations: 5.609 kB / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.001218, allocations: 16.34 kB / 0.6487 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.933e-05/0.001247, allocations: 6.953 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.001274, allocations: 8.812 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.00132, allocations: 1.062 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.001332, allocations: 2.562 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.001339, allocations: 1.125 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.001354, allocations: 7.625 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.001366, allocations: 6.953 kB / 0.6487 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 3.626e-05/0.001403, allocations: 10.34 kB / 0.6488 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.001404, allocations: 1.422 kB / 0.6488 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.81e-07/0.001405, allocations: 0 / 0.6488 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.464e-06/0.001407, allocations: 1.281 kB / 0.6488 GB, free: 38.29 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.0001664/0.001574, allocations: 357.7 kB / 0.6491 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.001598, allocations: 8.188 kB / 0.6491 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.001616, allocations: 8.547 kB / 0.6491 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.771e-05/0.001663, allocations: 117.1 kB / 0.6492 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.001671, allocations: 2.094 kB / 0.6492 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.001682, allocations: 3.406 kB / 0.6492 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.824e-05/0.00172, allocations: 37.12 kB / 0.6493 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-06/0.001725, allocations: 192 / 0.6493 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-06/0.001729, allocations: 384 / 0.6493 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.001733, allocations: 4.594 kB / 0.6493 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.354e-05/0.001746, allocations: 9.188 kB / 0.6493 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.001867, allocations: 104.3 kB / 0.6494 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.001926, allocations: 47.28 kB / 0.6494 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.066e-05/0.001937, allocations: 11.16 kB / 0.6494 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-06/0.001941, allocations: 0 / 0.6494 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.001952, allocations: 40.11 kB / 0.6495 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.001952, allocations: 0 / 0.6495 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 6.452e-05/0.002017, allocations: 54.62 kB / 0.6495 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.237e-05/0.002029, allocations: 52.94 kB / 0.6496 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.008e-05/0.002059, allocations: 158.7 kB / 0.6497 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.002063, allocations: 27.58 kB / 0.6498 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.00208, allocations: 134.5 kB / 0.6499 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.002096, allocations: 16.14 kB / 0.6499 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.002114, allocations: 19 kB / 0.6499 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.002154, allocations: 0.4942 MB / 0.6504 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.002161, allocations: 2.156 kB / 0.6504 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.002168, allocations: 4.938 kB / 0.6504 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.002189, allocations: 23.23 kB / 0.6504 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.00219, allocations: 0 / 0.6504 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 3.796e-05/0.002228, allocations: 55.41 kB / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.002236, allocations: 4.156 kB / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.002239, allocations: 0 / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.002246, allocations: 1.688 kB / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.002271, allocations: 12.69 kB / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.002273, allocations: 4.25 kB / 0.6505 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-06/0.002282, allocations: 5.75 kB / 0.6505 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.002285, allocations: 6.25 kB / 0.6505 GB, free: 36.49 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 2.767e-05/0.002313, allocations: 152.6 kB / 0.6507 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.002318, allocations: 1.875 kB / 0.6507 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.002332, allocations: 9.344 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.002333, allocations: 0 / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.002334, allocations: 1.094 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.002336, allocations: 1.719 kB / 0.6507 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.49e-05/0.002401, allocations: 106.7 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.002402, allocations: 1.062 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.002423, allocations: 3.688 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.002425, allocations: 6.344 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.002431, allocations: 2.125 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.002431, allocations: 0 / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-07/0.002431, allocations: 5.031 kB / 0.6508 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.381e-05/0.002495, allocations: 93.27 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.0025, allocations: 2.344 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-06/0.002507, allocations: 0.9062 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-06/0.002514, allocations: 1.75 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/0.002523, allocations: 4.438 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.002529, allocations: 1.688 kB / 0.6509 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.002544, allocations: 125.5 kB / 0.651 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.002544, allocations: 1.062 kB / 0.651 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001054/0.002649, allocations: 3.531 kB / 0.651 GB, free: 35.98 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 4.281e-05/0.002692, allocations: 98.02 kB / 0.6511 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 4.443e-05/0.002737, allocations: 24.56 kB / 0.6511 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.11e-07/0.002737, allocations: 0 / 0.6511 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.002746, allocations: 18.22 kB / 0.6511 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.988e-05/0.002826, allocations: 7.938 kB / 0.6512 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001491/0.002975, allocations: 136.2 kB / 0.6513 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.449e-05/0.00299, allocations: 63.05 kB / 0.6513 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.003003, allocations: 3.859 kB / 0.6513 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.003024, allocations: 69.58 kB / 0.6514 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of SimCode: time 4.31e-07/0.003024, allocations: 1.406 kB / 0.6514 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of Templates: time 0.001534/0.004558, allocations: 346.3 kB / 0.6517 GB, free: 35.54 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.84805279225111]