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.0008781/0.0008781, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009162/0.0009162, allocations: 165 kB / 23.02 MB, free: 1.551 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.9616/0.9616, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.652/1.652, allocations: 273.5 MB / 0.5209 GB, free: 14.86 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.635e-06/2.635e-06, allocations: 1.312 kB / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.517e-05, allocations: 8.953 kB / 0.647 GB, free: 38.72 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.004972/0.004997, allocations: 1.285 MB / 0.6482 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.005182, allocations: 47.83 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.00521, allocations: 0 / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.005233, allocations: 0 / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.005295, allocations: 6.656 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.005439, allocations: 14.02 kB / 0.6483 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.005507, allocations: 26.45 kB / 0.6483 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.005556, allocations: 4.766 kB / 0.6483 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.005613, allocations: 16.09 kB / 0.6483 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.005709, allocations: 8.297 kB / 0.6483 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005729, allocations: 3.812 kB / 0.6483 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.005738, allocations: 1.562 kB / 0.6483 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.005756, allocations: 12.61 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.005778, allocations: 5.5 kB / 0.6484 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.683e-05/0.005845, allocations: 17.09 kB / 0.6484 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005848, allocations: 2.344 kB / 0.6484 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005849, allocations: 0 / 0.6484 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.005853, allocations: 0 / 0.6484 GB, free: 37.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003577/0.00621, allocations: 370.6 kB / 0.6487 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.006251, allocations: 9.312 kB / 0.6487 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.006288, allocations: 4.656 kB / 0.6487 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.00636, allocations: 122 kB / 0.6489 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.006384, allocations: 3.156 kB / 0.6489 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.0064, allocations: 11.89 kB / 0.6489 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.00654, allocations: 74.73 kB / 0.6489 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.006552, allocations: 4.719 kB / 0.6489 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.006562, allocations: 384 / 0.6489 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.006572, allocations: 3.656 kB / 0.649 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.924e-05/0.006611, allocations: 13.22 kB / 0.649 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.006856, allocations: 382.1 kB / 0.6493 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.006921, allocations: 40.8 kB / 0.6494 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.006946, allocations: 11.84 kB / 0.6494 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.006965, allocations: 1.438 kB / 0.6494 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.006985, allocations: 35.67 kB / 0.6494 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006986, allocations: 0 / 0.6494 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.007157, allocations: 65.31 kB / 0.6495 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.00718, allocations: 52.66 kB / 0.6495 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.007256, allocations: 176 kB / 0.6497 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.007264, allocations: 25.7 kB / 0.6497 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.007309, allocations: 134.4 kB / 0.6498 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.007322, allocations: 17.41 kB / 0.6499 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.007357, allocations: 28.14 kB / 0.6499 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.003058/0.01041, allocations: 496.9 kB / 0.6504 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.01044, allocations: 3.781 kB / 0.6504 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.01046, allocations: 26.61 kB / 0.6504 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.01051, allocations: 36.38 kB / 0.6504 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01051, allocations: 0 / 0.6504 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.159e-05/0.01061, allocations: 63.56 kB / 0.6505 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01062, allocations: 8.031 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.01062, allocations: 6.469 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01064, allocations: 3.328 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01074, allocations: 15.84 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01075, allocations: 3.188 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.01078, allocations: 6.391 kB / 0.6505 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.01079, allocations: 3.906 kB / 0.6505 GB, free: 35.63 MB / 0.5262 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 4.702e-05/0.01083, allocations: 158.1 kB / 0.6507 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.01086, allocations: 4.219 kB / 0.6507 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.01096, allocations: 65.23 kB / 0.6508 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01096, allocations: 3.5 kB / 0.6508 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01097, allocations: 0 / 0.6508 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01097, allocations: 0 / 0.6508 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.01107, allocations: 125 kB / 0.6509 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01107, allocations: 0 / 0.6509 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.01112, allocations: 11.88 kB / 0.6509 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01112, allocations: 0 / 0.6509 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01113, allocations: 6.172 kB / 0.6509 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01113, allocations: 3.938 kB / 0.6509 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01113, allocations: 0 / 0.6509 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.01123, allocations: 206.5 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01124, allocations: 6.938 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.01125, allocations: 3.75 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.0113, allocations: 5.656 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01134, allocations: 6.562 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.01134, allocations: 3.625 kB / 0.6511 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.01137, allocations: 132.7 kB / 0.6512 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01137, allocations: 0 / 0.6512 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002188/0.01159, allocations: 7.281 kB / 0.6513 GB, free: 34.94 MB / 0.5262 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 6.896e-05/0.01166, allocations: 92.72 kB / 0.6513 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.01175, allocations: 35.78 kB / 0.6514 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01176, allocations: 0 / 0.6514 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.01178, allocations: 21.22 kB / 0.6514 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01202, allocations: 6.672 kB / 0.6514 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.01255, allocations: 145.9 kB / 0.6515 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.01258, allocations: 62.31 kB / 0.6516 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.431e-05/0.0126, allocations: 6.906 kB / 0.6516 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.01264, allocations: 11.92 kB / 0.6516 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of SimCode: time 7.82e-07/0.01264, allocations: 0 / 0.6516 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of Templates: time 0.009073/0.02171, allocations: 0.5044 MB / 0.6521 GB, free: 34.54 MB / 0.5262 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.963612008839846]