Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.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.001199/0.001199, allocations: 80.88 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.001545/0.001545, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.015/1.015, 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.618/1.618, allocations: 273.5 MB / 0.5213 GB, free: 14.68 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.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.5954 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.822e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002864/0.002892, allocations: 1.307 MB / 0.5967 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002579/0.00315, allocations: 35.81 kB / 0.5967 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.00318, allocations: 0 / 0.5967 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.003201, allocations: 5.469 kB / 0.5967 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.003266, allocations: 0 / 0.5967 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.003406, allocations: 17.23 kB / 0.5967 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.003477, allocations: 27.8 kB / 0.5968 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.003519, allocations: 4 kB / 0.5968 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.003584, allocations: 17.3 kB / 0.5968 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.003693, allocations: 9.297 kB / 0.5968 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.003718, allocations: 5.312 kB / 0.5968 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.003726, allocations: 0 / 0.5968 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.003754, allocations: 9.281 kB / 0.5968 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.003774, allocations: 9.422 kB / 0.5968 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.364e-05/0.003838, allocations: 17.11 kB / 0.5968 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003841, allocations: 0 / 0.5968 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003841, allocations: 0 / 0.5968 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003845, allocations: 4 kB / 0.5968 GB, free: 1.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003684/0.004213, allocations: 248.9 kB / 0.5971 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004249, allocations: 8.031 kB / 0.5971 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.00428, allocations: 4.938 kB / 0.5971 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.004366, allocations: 105.8 kB / 0.5972 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.004387, allocations: 384 / 0.5972 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.004403, allocations: 11.98 kB / 0.5972 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.004525, allocations: 68.59 kB / 0.5973 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004533, allocations: 1.609 kB / 0.5973 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004542, allocations: 8.375 kB / 0.5973 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.004549, allocations: 4.375 kB / 0.5973 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.004582, allocations: 15.86 kB / 0.5973 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.004817, allocations: 236.5 kB / 0.5975 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.004874, allocations: 26.59 kB / 0.5975 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.004895, allocations: 8.859 kB / 0.5975 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.004908, allocations: 0 / 0.5975 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004931, allocations: 30.56 kB / 0.5976 GB, free: 472 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004932, allocations: 0 / 0.5976 GB, free: 472 kB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001274/0.005059, allocations: 49.66 kB / 0.5976 GB, free: 416 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.005096, allocations: 59.41 kB / 0.5977 GB, free: 344 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.005175, allocations: 118.6 kB / 0.5978 GB, free: 212 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005187, allocations: 27.12 kB / 0.5978 GB, free: 180 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.005233, allocations: 96.06 kB / 0.5979 GB, free: 80 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.005243, allocations: 7.891 kB / 0.5979 GB, free: 72 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.005281, allocations: 21.67 kB / 0.5979 GB, free: 44 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005387, allocations: 322.8 kB / 0.5982 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.005406, allocations: 4 kB / 0.5983 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.00543, allocations: 13.72 kB / 0.5983 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.005477, allocations: 29.64 kB / 0.5983 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005479, allocations: 4 kB / 0.5983 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.341e-05/0.005562, allocations: 49.69 kB / 0.5983 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.005577, allocations: 6.812 kB / 0.5984 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005581, allocations: 0 / 0.5984 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.005597, allocations: 7.938 kB / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.005707, allocations: 21.23 kB / 0.5984 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.00571, allocations: 0 / 0.5984 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.005749, allocations: 4 kB / 0.5984 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.005757, allocations: 3.984 kB / 0.5984 GB, free: 15.56 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.028e-05/0.005827, allocations: 121.9 kB / 0.5985 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.00585, allocations: 0 / 0.5985 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-05/0.00595, allocations: 53.19 kB / 0.5986 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.005956, allocations: 7.922 kB / 0.5986 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.005958, allocations: 0 / 0.5986 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.005961, allocations: 3.938 kB / 0.5986 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.006086, allocations: 65.91 kB / 0.5986 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006088, allocations: 0 / 0.5986 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.00616, allocations: 17.41 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006162, allocations: 0 / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006169, allocations: 4 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006171, allocations: 8 kB / 0.5987 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006172, allocations: 0 / 0.5987 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.006282, allocations: 143.2 kB / 0.5988 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.006298, allocations: 11.89 kB / 0.5988 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.006309, allocations: 0 / 0.5988 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.006377, allocations: 11.98 kB / 0.5988 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.006399, allocations: 0 / 0.5988 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.006405, allocations: 3.938 kB / 0.5988 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.006426, allocations: 20.78 kB / 0.5988 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.006426, allocations: 0 / 0.5988 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002146/0.00664, allocations: 9.422 kB / 0.5988 GB, free: 15.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 8.056e-05/0.006721, allocations: 76.42 kB / 0.5989 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.0068, allocations: 24.86 kB / 0.5989 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.006804, allocations: 0 / 0.5989 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.006829, allocations: 24.03 kB / 0.599 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.007014, allocations: 6.406 kB / 0.599 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.007444, allocations: 136.7 kB / 0.5991 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.007483, allocations: 63.3 kB / 0.5992 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.007509, allocations: 0 / 0.5992 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.007572, allocations: 59.36 kB / 0.5992 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.007573, allocations: 0 / 0.5992 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.002633/0.01021, allocations: 0.4946 MB / 0.5997 GB, free: 14.12 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.694048897828907]