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.001575/0.001575, allocations: 92.22 kB / 19.65 MB, free: 276 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.001757/0.001757, allocations: 169 kB / 23.02 MB, free: 1.551 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.9511/0.9511, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.662/1.662, allocations: 273.5 MB / 0.5209 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.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 2.274e-06/2.274e-06, allocations: 0 / 0.6469 GB, free: 38.67 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.829e-05, allocations: 3.469 kB / 0.6469 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001123/0.001151, allocations: 0.5182 MB / 0.6475 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.00132, allocations: 25.47 kB / 0.6475 GB, free: 38.37 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.001346, allocations: 1.422 kB / 0.6475 GB, free: 38.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.001365, allocations: 0 / 0.6475 GB, free: 38.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.001388, allocations: 2.281 kB / 0.6475 GB, free: 38.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.001525, allocations: 9.578 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.001578, allocations: 16.33 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.001623, allocations: 2.875 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.001661, allocations: 7.844 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.001727, allocations: 6.984 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.001745, allocations: 1.938 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-06/0.001753, allocations: 0.7188 kB / 0.6475 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.001771, allocations: 9.859 kB / 0.6475 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.001792, allocations: 3.656 kB / 0.6475 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.942e-05/0.001851, allocations: 6.453 kB / 0.6475 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.001854, allocations: 1.094 kB / 0.6475 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.001855, allocations: 2.953 kB / 0.6476 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.00186, allocations: 0 / 0.6476 GB, free: 38.35 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.0002947/0.002154, allocations: 356 kB / 0.6479 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.002203, allocations: 9.938 kB / 0.6479 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.002238, allocations: 6.828 kB / 0.6479 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.002305, allocations: 111 kB / 0.648 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.002318, allocations: 5.469 kB / 0.648 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.002343, allocations: 6.828 kB / 0.648 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.002419, allocations: 34.77 kB / 0.6481 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002425, allocations: 4.125 kB / 0.6481 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.002435, allocations: 384 / 0.6481 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.002443, allocations: 2.688 kB / 0.6481 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.00247, allocations: 14.41 kB / 0.6481 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.00269, allocations: 123.1 kB / 0.6482 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.002775, allocations: 39.05 kB / 0.6482 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.002792, allocations: 14.34 kB / 0.6482 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.0028, allocations: 4.094 kB / 0.6482 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.002818, allocations: 41.03 kB / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.002819, allocations: 0 / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0001226/0.002941, allocations: 53.12 kB / 0.6483 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.002959, allocations: 51.41 kB / 0.6484 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.327e-05/0.003003, allocations: 162.1 kB / 0.6485 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.003008, allocations: 30.89 kB / 0.6486 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.003032, allocations: 128 kB / 0.6487 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.003057, allocations: 13.47 kB / 0.6487 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.003082, allocations: 25 kB / 0.6487 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.003134, allocations: 0.4906 MB / 0.6492 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.003151, allocations: 4.031 kB / 0.6492 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.003163, allocations: 4.938 kB / 0.6492 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.003197, allocations: 28.09 kB / 0.6492 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.003199, allocations: 0 / 0.6492 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.296e-05/0.003252, allocations: 54.84 kB / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.003265, allocations: 7.234 kB / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.003269, allocations: 3.156 kB / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.003285, allocations: 0 / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.003323, allocations: 6.188 kB / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.003328, allocations: 0 / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.00334, allocations: 6.781 kB / 0.6493 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.003345, allocations: 3.547 kB / 0.6493 GB, free: 36.53 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.666e-05/0.003381, allocations: 158.1 kB / 0.6495 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-06/0.003387, allocations: 7.281 kB / 0.6495 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.00341, allocations: 10.88 kB / 0.6495 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.003413, allocations: 4.984 kB / 0.6495 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.003415, allocations: 0 / 0.6495 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.003418, allocations: 5.531 kB / 0.6495 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/0.003506, allocations: 125 kB / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.003507, allocations: 0 / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.003531, allocations: 2.562 kB / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.003532, allocations: 1.406 kB / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.003544, allocations: 2.375 kB / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003544, allocations: 0 / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.003545, allocations: 0 / 0.6496 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.003635, allocations: 99.69 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.003641, allocations: 5.031 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.003651, allocations: 0 / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.003659, allocations: 5.25 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.003673, allocations: 0 / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.003675, allocations: 2.375 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.689e-05/0.003692, allocations: 124.8 kB / 0.6499 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.003692, allocations: 1.156 kB / 0.6499 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001159/0.003808, allocations: 7.594 kB / 0.6499 GB, free: 35.99 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.94e-05/0.003867, allocations: 94.38 kB / 0.65 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/0.003945, allocations: 26.67 kB / 0.65 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.003946, allocations: 1.25 kB / 0.65 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.003956, allocations: 17.53 kB / 0.65 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.004068, allocations: 5.312 kB / 0.65 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.004312, allocations: 141 kB / 0.6501 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.056e-05/0.004333, allocations: 57.44 kB / 0.6502 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.004351, allocations: 6.797 kB / 0.6502 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.004373, allocations: 10.59 kB / 0.6502 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of SimCode: time 7.31e-07/0.004374, allocations: 0 / 0.6502 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of Templates: time 0.001803/0.006177, allocations: 322.4 kB / 0.6505 GB, free: 35.61 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.819263487122953]