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.001162/0.001162, allocations: 89.08 kB / 19.42 MB, free: 496 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.001107/0.001107, allocations: 169.3 kB / 22.72 MB, free: 1.828 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.9667/0.9667, allocations: 177.1 MB / 203.1 MB, free: 5.66 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.719/1.719, allocations: 273.5 MB / 0.5205 GB, free: 14.87 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 1.653e-06/1.653e-06, allocations: 0 / 0.6462 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.563e-05, allocations: 6.719 kB / 0.6462 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001675/0.001691, allocations: 1.297 MB / 0.6475 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.001848, allocations: 42.02 kB / 0.6475 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.001874, allocations: 0 / 0.6475 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.001893, allocations: 3.938 kB / 0.6475 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.001948, allocations: 4.328 kB / 0.6475 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.002071, allocations: 16.72 kB / 0.6476 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.002129, allocations: 30.33 kB / 0.6476 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.002172, allocations: 0 / 0.6476 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.002223, allocations: 15.81 kB / 0.6476 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.002308, allocations: 15.73 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.002325, allocations: 0 / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.002334, allocations: 1.469 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.002349, allocations: 12.17 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.002369, allocations: 3.547 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.752e-05/0.002427, allocations: 17.36 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002429, allocations: 2.188 kB / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002429, allocations: 0 / 0.6476 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.002433, allocations: 2.438 kB / 0.6476 GB, free: 37.8 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.0003225/0.002756, allocations: 367.3 kB / 0.648 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.002793, allocations: 9.625 kB / 0.648 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.002824, allocations: 6.656 kB / 0.648 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.072e-05/0.002885, allocations: 121.7 kB / 0.6481 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.002905, allocations: 2.156 kB / 0.6481 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.002918, allocations: 6.719 kB / 0.6481 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.003029, allocations: 78.34 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.003039, allocations: 192 / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.003048, allocations: 2.719 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.003056, allocations: 1.844 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.003094, allocations: 18.06 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.003307, allocations: 382.3 kB / 0.6486 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.00336, allocations: 34.44 kB / 0.6486 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.003383, allocations: 15.7 kB / 0.6486 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.003398, allocations: 0 / 0.6486 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.003419, allocations: 39.19 kB / 0.6487 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.00342, allocations: 1.312 kB / 0.6487 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001442/0.003565, allocations: 65.61 kB / 0.6487 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.003581, allocations: 51.41 kB / 0.6488 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.003638, allocations: 173.7 kB / 0.649 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.003643, allocations: 27.95 kB / 0.649 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.003676, allocations: 134.3 kB / 0.6491 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.003685, allocations: 20.62 kB / 0.6491 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.003714, allocations: 22.44 kB / 0.6492 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.003752, allocations: 497.7 kB / 0.6496 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.003768, allocations: 4.312 kB / 0.6496 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.003791, allocations: 29.91 kB / 0.6497 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.003831, allocations: 34.22 kB / 0.6497 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.003833, allocations: 2.094 kB / 0.6497 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.772e-05/0.003911, allocations: 56.83 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.003923, allocations: 9.469 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.003928, allocations: 1.812 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.003943, allocations: 2.594 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.004033, allocations: 20.53 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.004039, allocations: 0.9062 kB / 0.6498 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.004071, allocations: 13.11 kB / 0.6498 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.004077, allocations: 1.125 kB / 0.6498 GB, free: 35.61 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 3.896e-05/0.004116, allocations: 162.4 kB / 0.65 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.004138, allocations: 3.312 kB / 0.65 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.004231, allocations: 59.7 kB / 0.65 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.004233, allocations: 0.9375 kB / 0.65 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.004236, allocations: 1.5 kB / 0.65 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004239, allocations: 11.06 kB / 0.65 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.004335, allocations: 118.6 kB / 0.6501 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.004336, allocations: 0 / 0.6501 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.00438, allocations: 14.92 kB / 0.6502 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004381, allocations: 0.75 kB / 0.6502 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.004387, allocations: 0.875 kB / 0.6502 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.004389, allocations: 7.125 kB / 0.6502 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004389, allocations: 0 / 0.6502 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.004463, allocations: 202.2 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.004471, allocations: 1.469 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.004481, allocations: 5.031 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.00453, allocations: 5.844 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.004555, allocations: 5.125 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.004557, allocations: 1.625 kB / 0.6504 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.004581, allocations: 137.8 kB / 0.6505 GB, free: 34.92 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.004581, allocations: 0 / 0.6505 GB, free: 34.92 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002216/0.004802, allocations: 5.75 kB / 0.6505 GB, free: 34.92 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 5.321e-05/0.004856, allocations: 94.56 kB / 0.6506 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.004942, allocations: 33.2 kB / 0.6506 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.004943, allocations: 1.031 kB / 0.6506 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.004965, allocations: 26.41 kB / 0.6507 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.0052, allocations: 8.531 kB / 0.6507 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.00561, allocations: 146.7 kB / 0.6508 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.655e-05/0.005637, allocations: 58.94 kB / 0.6509 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.005659, allocations: 8.234 kB / 0.6509 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.005686, allocations: 12.03 kB / 0.6509 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of SimCode: time 4.31e-07/0.005686, allocations: 0 / 0.6509 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of Templates: time 0.002177/0.007863, allocations: 0.5071 MB / 0.6514 GB, free: 34.52 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.93706423882395]