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.001378/0.001378, 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.001574/0.001574, allocations: 173 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 0.9674/0.9674, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.643/1.643, 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.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 3.707e-06/3.707e-06, allocations: 0 / 0.647 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/3.048e-05, allocations: 2.312 kB / 0.647 GB, free: 38.63 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001478/0.001509, allocations: 0.5177 MB / 0.6475 GB, free: 38.35 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.001679, allocations: 26.72 kB / 0.6475 GB, free: 38.34 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.001711, allocations: 0 / 0.6475 GB, free: 38.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.00173, allocations: 0 / 0.6475 GB, free: 38.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.001759, allocations: 5.25 kB / 0.6475 GB, free: 38.33 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.001907, allocations: 10.58 kB / 0.6475 GB, free: 38.33 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.001971, allocations: 11.56 kB / 0.6475 GB, free: 38.33 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.002018, allocations: 3.312 kB / 0.6475 GB, free: 38.33 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.002061, allocations: 8.031 kB / 0.6475 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.002137, allocations: 12.08 kB / 0.6475 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.002161, allocations: 2.156 kB / 0.6475 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.00217, allocations: 0 / 0.6475 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.002187, allocations: 1.422 kB / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.002211, allocations: 7.25 kB / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.707e-05/0.002278, allocations: 11.52 kB / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00228, allocations: 0.7188 kB / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002281, allocations: 0 / 0.6476 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.002286, allocations: 1.438 kB / 0.6476 GB, free: 38.32 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.0003576/0.002643, allocations: 355.6 kB / 0.6479 GB, free: 37.95 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.002695, allocations: 9.656 kB / 0.6479 GB, free: 37.95 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.00274, allocations: 10.38 kB / 0.6479 GB, free: 37.94 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.00283, allocations: 107.3 kB / 0.648 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.002843, allocations: 384 / 0.648 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.002864, allocations: 3.031 kB / 0.648 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.002949, allocations: 43.14 kB / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002955, allocations: 192 / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.002963, allocations: 1.406 kB / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.002972, allocations: 384 / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.003001, allocations: 12.16 kB / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.003255, allocations: 123.7 kB / 0.6482 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.00337, allocations: 51.41 kB / 0.6483 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.003392, allocations: 12.94 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.0034, allocations: 0 / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.00342, allocations: 36.91 kB / 0.6483 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.003421, allocations: 0 / 0.6483 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.00357, allocations: 54.94 kB / 0.6484 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.003596, allocations: 52.78 kB / 0.6484 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.003655, allocations: 163.1 kB / 0.6486 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.003662, allocations: 25.7 kB / 0.6486 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.003688, allocations: 129.1 kB / 0.6487 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.003724, allocations: 21.33 kB / 0.6487 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.003756, allocations: 26.91 kB / 0.6488 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.003816, allocations: 493.4 kB / 0.6492 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.003835, allocations: 8.797 kB / 0.6492 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.00385, allocations: 3.812 kB / 0.6492 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.003893, allocations: 20.75 kB / 0.6493 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003894, allocations: 1.312 kB / 0.6493 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.639e-05/0.003971, allocations: 62.3 kB / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.003985, allocations: 5.094 kB / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.003989, allocations: 0 / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.004003, allocations: 2.969 kB / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.004048, allocations: 11.09 kB / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.004054, allocations: 0 / 0.6493 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.004072, allocations: 9.547 kB / 0.6493 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.004076, allocations: 0 / 0.6493 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 4.118e-05/0.004117, allocations: 158 kB / 0.6495 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.004126, allocations: 3.562 kB / 0.6495 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.004145, allocations: 5.938 kB / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.004147, allocations: 1.422 kB / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.004151, allocations: 0 / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.004154, allocations: 5.281 kB / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.754e-05/0.004252, allocations: 122.8 kB / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.004252, allocations: 0 / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.004279, allocations: 9.703 kB / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.00428, allocations: 0 / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.004293, allocations: 0 / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.004294, allocations: 2 kB / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004295, allocations: 1.344 kB / 0.6496 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.775e-05/0.004393, allocations: 101.5 kB / 0.6497 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.004399, allocations: 6.953 kB / 0.6497 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.004408, allocations: 4.625 kB / 0.6497 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.004417, allocations: 1.422 kB / 0.6498 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.00443, allocations: 0 / 0.6498 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.004431, allocations: 2.438 kB / 0.6498 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.915e-05/0.00445, allocations: 126.6 kB / 0.6499 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.00445, allocations: 0 / 0.6499 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001153/0.004566, allocations: 11.47 kB / 0.6499 GB, free: 35.95 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 6.516e-05/0.004631, allocations: 95.56 kB / 0.65 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.004713, allocations: 26.56 kB / 0.65 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004715, allocations: 0 / 0.65 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.004729, allocations: 18.25 kB / 0.65 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.004836, allocations: 1.031 kB / 0.65 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.005059, allocations: 135.4 kB / 0.6501 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.07e-05/0.00508, allocations: 62.55 kB / 0.6502 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.005098, allocations: 6.75 kB / 0.6502 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.005117, allocations: 10.53 kB / 0.6502 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of SimCode: time 6.41e-07/0.005118, allocations: 0 / 0.6502 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of Templates: time 0.002002/0.00712, allocations: 321.2 kB / 0.6505 GB, free: 35.58 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.678618408041075]