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.001071/0.001071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000967/0.002038, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007249/0.0007249, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009225/0.001647, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.004/1.004, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09645/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8205/0.8205, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03555/0.856, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.693e-06/1.693e-06, allocations: 0 / 0.5444 GB, free: 30.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.128e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001221/0.001242, allocations: 0.5679 MB / 0.5449 GB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.034e-05/0.001293, allocations: 23.89 kB / 0.545 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.001309, allocations: 0 / 0.545 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.519e-06/0.001313, allocations: 0 / 0.545 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.00132, allocations: 0 / 0.545 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.419e-05/0.001374, allocations: 15.92 kB / 0.545 GB, free: 30.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.76e-05/0.001422, allocations: 11.94 kB / 0.545 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.001458, allocations: 4 kB / 0.545 GB, free: 30.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.001505, allocations: 11.97 kB / 0.545 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.001567, allocations: 15.92 kB / 0.545 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.001587, allocations: 0 / 0.545 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.001593, allocations: 0 / 0.545 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.001604, allocations: 4 kB / 0.545 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.001621, allocations: 0 / 0.545 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.001e-05/0.001681, allocations: 7.938 kB / 0.545 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.972e-05/0.001701, allocations: 0 / 0.545 GB, free: 30.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.001702, allocations: 4 kB / 0.545 GB, free: 30.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.001719, allocations: 0 / 0.545 GB, free: 30.04 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.0003016/0.00202, allocations: 231.1 kB / 0.5453 GB, free: 29.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.00205, allocations: 15.89 kB / 0.5453 GB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.002077, allocations: 0.9375 kB / 0.5453 GB, free: 29.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.00214, allocations: 113.7 kB / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00215, allocations: 384 / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.002168, allocations: 8.375 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.002225, allocations: 38.19 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.002231, allocations: 192 / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.002236, allocations: 8.359 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.002241, allocations: 384 / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.002263, allocations: 7.938 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.002439, allocations: 72.98 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.002526, allocations: 30.61 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.00254, allocations: 8.859 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.002546, allocations: 0 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.002563, allocations: 42.5 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.002564, allocations: 0 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.346e-05/0.002657, allocations: 37.78 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.00268, allocations: 59.41 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.575e-05/0.002716, allocations: 106.7 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.002723, allocations: 29.7 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-06/0.002732, allocations: 80.14 kB / 0.5459 GB, free: 29.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.002757, allocations: 7.953 kB / 0.5459 GB, free: 29.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.002789, allocations: 21.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.046e-05/0.002819, allocations: 318.8 kB / 0.5462 GB, free: 28.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.002828, allocations: 4 kB / 0.5462 GB, free: 28.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.002837, allocations: 4 kB / 0.5462 GB, free: 28.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.002867, allocations: 24.41 kB / 0.5462 GB, free: 28.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.002869, allocations: 0 / 0.5462 GB, free: 28.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.962e-05/0.002918, allocations: 45.69 kB / 0.5463 GB, free: 28.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.002929, allocations: 4 kB / 0.5463 GB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.002935, allocations: 7.938 kB / 0.5463 GB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.002943, allocations: 0 / 0.5463 GB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.002986, allocations: 8 kB / 0.5463 GB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.002989, allocations: 0 / 0.5463 GB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.003002, allocations: 7.953 kB / 0.5463 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-06/0.003005, allocations: 0 / 0.5463 GB, free: 28.57 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.507e-05/0.00304, allocations: 117.7 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.003046, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.003065, allocations: 15.67 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003067, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.003068, allocations: 4 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003071, allocations: 0 / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.093e-05/0.003162, allocations: 77.81 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.003163, allocations: 0 / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.003191, allocations: 8 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.003196, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.003197, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.003205, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.003206, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.003206, allocations: 8 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.00328, allocations: 81.36 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.003288, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.003301, allocations: 3.062 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.003311, allocations: 4.031 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.003313, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.136e-06/0.003321, allocations: 8.859 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003321, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.003449, allocations: 4 kB / 0.5466 GB, free: 28.2 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 6.165e-05/0.00351, allocations: 88.38 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.017e-05/0.00357, allocations: 20.84 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.003574, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.003588, allocations: 16.78 kB / 0.5468 GB, free: 28.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.982e-05/0.003648, allocations: 11.06 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.003852, allocations: 128.4 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.693e-05/0.003869, allocations: 55.34 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.141e-05/0.00389, allocations: 4 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.003912, allocations: 51.31 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.003913, allocations: 4 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of Templates: time 0.001757/0.00567, allocations: 326.5 kB / 0.5473 GB, free: 27.45 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.408405078575015]