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.0009945/0.0009945, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002474, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.001004/0.001004, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.00235, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.983/0.983, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1056/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7545/0.7545, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03329/0.7878, allocations: 21.05 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.843e-06/1.843e-06, allocations: 0 / 0.5445 GB, free: 30.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.075e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001648/0.001669, allocations: 0.5844 MB / 0.5451 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.5e-05/0.001724, allocations: 15.91 kB / 0.5451 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.001739, allocations: 0 / 0.5451 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.909e-06/0.001744, allocations: 7.938 kB / 0.5451 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.001752, allocations: 3.938 kB / 0.5451 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.162e-05/0.001803, allocations: 11.97 kB / 0.5452 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.00185, allocations: 8 kB / 0.5452 GB, free: 29.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.001886, allocations: 0 / 0.5452 GB, free: 29.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.001936, allocations: 19.91 kB / 0.5452 GB, free: 29.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.001998, allocations: 7.984 kB / 0.5452 GB, free: 29.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.002018, allocations: 4 kB / 0.5452 GB, free: 29.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.002024, allocations: 0 / 0.5452 GB, free: 29.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.002038, allocations: 4 kB / 0.5452 GB, free: 29.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.002053, allocations: 7.938 kB / 0.5452 GB, free: 29.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.928e-05/0.002113, allocations: 7.984 kB / 0.5452 GB, free: 29.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.002122, allocations: 0 / 0.5452 GB, free: 29.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002123, allocations: 0 / 0.5452 GB, free: 29.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.002131, allocations: 0 / 0.5452 GB, free: 29.53 MB / 410.7 MB 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.0002658/0.002397, allocations: 231 kB / 0.5454 GB, free: 29.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.00243, allocations: 15.88 kB / 0.5455 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.002458, allocations: 4.938 kB / 0.5455 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.28e-05/0.002521, allocations: 113.7 kB / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002531, allocations: 4.375 kB / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.002553, allocations: 384 / 0.5456 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.005636, allocations: 37.62 kB / 0.5456 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005643, allocations: 192 / 0.5456 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.005649, allocations: 384 / 0.5456 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005655, allocations: 384 / 0.5456 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.005674, allocations: 7.938 kB / 0.5456 GB, free: 29.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.005851, allocations: 76.98 kB / 0.5457 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.00593, allocations: 42.53 kB / 0.5457 GB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.005942, allocations: 8.859 kB / 0.5457 GB, free: 28.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.005948, allocations: 4 kB / 0.5457 GB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.005964, allocations: 30.56 kB / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005965, allocations: 0 / 0.5458 GB, free: 28.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.597e-05/0.006051, allocations: 49.72 kB / 0.5458 GB, free: 28.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.006069, allocations: 51.41 kB / 0.5459 GB, free: 28.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.167e-05/0.006101, allocations: 106.6 kB / 0.546 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.006105, allocations: 25.7 kB / 0.546 GB, free: 28.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-06/0.006115, allocations: 88.12 kB / 0.5461 GB, free: 28.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.006139, allocations: 3.953 kB / 0.5461 GB, free: 28.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.006164, allocations: 21.72 kB / 0.5461 GB, free: 28.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.0062, allocations: 326.8 kB / 0.5464 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.006208, allocations: 0 / 0.5464 GB, free: 28.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-06/0.006217, allocations: 4 kB / 0.5464 GB, free: 28.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.006244, allocations: 16.84 kB / 0.5464 GB, free: 28.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006246, allocations: 0 / 0.5464 GB, free: 28.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.507e-05/0.006292, allocations: 49.64 kB / 0.5465 GB, free: 28.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.006302, allocations: 4 kB / 0.5465 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006306, allocations: 3.984 kB / 0.5465 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006317, allocations: 0 / 0.5465 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.71e-05/0.006355, allocations: 8 kB / 0.5465 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.006357, allocations: 4 kB / 0.5465 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.00637, allocations: 3.953 kB / 0.5465 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006374, allocations: 7.062 kB / 0.5465 GB, free: 28.05 MB / 410.7 MB 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.029e-05/0.006404, allocations: 109.8 kB / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.00641, allocations: 384 / 0.5466 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.006429, allocations: 11.69 kB / 0.5466 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.00643, allocations: 3.984 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006432, allocations: 0 / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.006439, allocations: 3.984 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.006525, allocations: 77.83 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006526, allocations: 4 kB / 0.5467 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.006556, allocations: 7.984 kB / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-06/0.00656, allocations: 0 / 0.5467 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006561, allocations: 7.938 kB / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006569, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006569, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00657, allocations: 0 / 0.5467 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.298e-05/0.006643, allocations: 73.06 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006653, allocations: 3.984 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.006665, allocations: 0 / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.006677, allocations: 4 kB / 0.5468 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006679, allocations: 7.969 kB / 0.5468 GB, free: 27.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.064e-05/0.00669, allocations: 8.859 kB / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00669, allocations: 0 / 0.5468 GB, free: 27.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.00684, allocations: 4 kB / 0.5468 GB, free: 27.68 MB / 410.7 MB 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.835e-05/0.006898, allocations: 88.34 kB / 0.5469 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.647e-05/0.006955, allocations: 20.8 kB / 0.5469 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.006959, allocations: 0 / 0.5469 GB, free: 27.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.006973, allocations: 12.86 kB / 0.5469 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.062e-05/0.007044, allocations: 15.92 kB / 0.547 GB, free: 27.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.007231, allocations: 132.4 kB / 0.5471 GB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.82e-05/0.00725, allocations: 51.36 kB / 0.5471 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.628e-05/0.007266, allocations: 4 kB / 0.5471 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.007298, allocations: 51.38 kB / 0.5472 GB, free: 27.25 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007298, allocations: 0 / 0.5472 GB, free: 27.25 MB / 410.7 MB Notification: Performance of Templates: time 0.004838/0.01214, allocations: 387.2 kB / 0.5476 GB, free: 26.88 MB / 410.7 MB " [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: 3.3181437216699123]