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.00106/0.00106, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001329/0.001329, allocations: 181 kB / 23.35 MB, free: 1.137 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.9498/0.9498, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.609/1.609, allocations: 273.5 MB / 0.5213 GB, free: 14.65 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.435e-06/2.435e-06, allocations: 0 / 0.5954 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.607e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001277/0.001303, allocations: 0.5216 MB / 0.5959 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.001463, allocations: 35.89 kB / 0.5959 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.00149, allocations: 0 / 0.5959 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.001505, allocations: 0 / 0.5959 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.001532, allocations: 5.469 kB / 0.5959 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.001677, allocations: 0 / 0.5959 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.001734, allocations: 17.3 kB / 0.596 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.001787, allocations: 1.641 kB / 0.596 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.001837, allocations: 11.97 kB / 0.596 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.00193, allocations: 5.203 kB / 0.596 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.001953, allocations: 0 / 0.596 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.001962, allocations: 4 kB / 0.596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.001986, allocations: 5.312 kB / 0.596 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.002004, allocations: 7.984 kB / 0.596 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.903e-05/0.002073, allocations: 9.297 kB / 0.596 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.002075, allocations: 0 / 0.596 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.002076, allocations: 0 / 0.596 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.002082, allocations: 0 / 0.596 GB, free: 2.141 MB / 0.5105 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.0002801/0.002362, allocations: 228.7 kB / 0.5962 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.002394, allocations: 8.031 kB / 0.5962 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.002416, allocations: 4.938 kB / 0.5962 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.58e-05/0.002492, allocations: 118 kB / 0.5963 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.002503, allocations: 5.688 kB / 0.5964 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.002521, allocations: 384 / 0.5964 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.002587, allocations: 38.25 kB / 0.5964 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.002594, allocations: 192 / 0.5964 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.002599, allocations: 384 / 0.5964 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.002604, allocations: 384 / 0.5964 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.002622, allocations: 11.92 kB / 0.5964 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.002783, allocations: 65.05 kB / 0.5965 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.002859, allocations: 38.53 kB / 0.5965 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.00287, allocations: 8.859 kB / 0.5965 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.002877, allocations: 4 kB / 0.5965 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.002897, allocations: 34.56 kB / 0.5965 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.002898, allocations: 1.312 kB / 0.5965 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 8.99e-05/0.002988, allocations: 45.25 kB / 0.5966 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.003021, allocations: 51.41 kB / 0.5966 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.627e-05/0.003077, allocations: 106.6 kB / 0.5967 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.003088, allocations: 25.7 kB / 0.5968 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.00311, allocations: 88.12 kB / 0.5969 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.003134, allocations: 11.91 kB / 0.5969 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.003158, allocations: 17.7 kB / 0.5969 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.003246, allocations: 326.8 kB / 0.5972 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.003252, allocations: 0 / 0.5972 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.003261, allocations: 4 kB / 0.5972 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.003288, allocations: 16.84 kB / 0.5972 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00329, allocations: 1.422 kB / 0.5972 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.196e-05/0.003332, allocations: 45.69 kB / 0.5973 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.003341, allocations: 8 kB / 0.5973 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.003345, allocations: 0 / 0.5973 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.003357, allocations: 3.938 kB / 0.5973 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.229e-05/0.003389, allocations: 8 kB / 0.5973 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003391, allocations: 0 / 0.5973 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.003401, allocations: 7.562 kB / 0.5973 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.003404, allocations: 0 / 0.5973 GB, free: 0.6875 MB / 0.5105 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 8.023e-05/0.003484, allocations: 117.8 kB / 0.5974 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.00349, allocations: 3.984 kB / 0.5974 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.00351, allocations: 3.688 kB / 0.5974 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.003512, allocations: 4 kB / 0.5974 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.003514, allocations: 1.422 kB / 0.5974 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.003517, allocations: 0 / 0.5974 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.003606, allocations: 73.83 kB / 0.5975 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003607, allocations: 0 / 0.5975 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.00363, allocations: 12 kB / 0.5975 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.003631, allocations: 0 / 0.5975 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.003642, allocations: 4 kB / 0.5975 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.003642, allocations: 0 / 0.5975 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003643, allocations: 0 / 0.5975 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.00373, allocations: 80.97 kB / 0.5976 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.003737, allocations: 4 kB / 0.5976 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.003743, allocations: 0 / 0.5976 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.00375, allocations: 0 / 0.5976 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.003761, allocations: 1.422 kB / 0.5976 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.003762, allocations: 4.031 kB / 0.5976 GB, free: 344 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.698e-06/0.003772, allocations: 16.84 kB / 0.5976 GB, free: 324 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003772, allocations: 0 / 0.5976 GB, free: 324 kB / 0.5105 GB Notification: Performance of remove unused functions: time 8.687e-05/0.003859, allocations: 4 kB / 0.5976 GB, free: 320 kB / 0.5105 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.767e-05/0.003926, allocations: 76.42 kB / 0.5977 GB, free: 236 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.248e-05/0.003979, allocations: 20.41 kB / 0.5977 GB, free: 216 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.003982, allocations: 4 kB / 0.5977 GB, free: 212 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.003996, allocations: 12.84 kB / 0.5977 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.515e-05/0.004051, allocations: 11.88 kB / 0.5977 GB, free: 184 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.004254, allocations: 132.6 kB / 0.5978 GB, free: 24 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.004288, allocations: 55.36 kB / 0.5979 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.004305, allocations: 4 kB / 0.5979 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.004331, allocations: 48.69 kB / 0.5979 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.004332, allocations: 0 / 0.5979 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.001696/0.006028, allocations: 337.2 kB / 0.5983 GB, free: 15.57 MB / 0.5261 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.272807886824012]