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.00108/0.00108, allocations: 92.22 kB / 19.65 MB, free: 276 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.001306/0.001306, allocations: 173 kB / 23.02 MB, free: 1.547 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.9551/0.9551, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.556/1.556, allocations: 273.5 MB / 0.5209 GB, free: 14.81 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.453e-06/1.453e-06, allocations: 0 / 0.647 GB, free: 38.77 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.222e-05, allocations: 2.312 kB / 0.647 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001302/0.001315, allocations: 1.294 MB / 0.6482 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.00146, allocations: 44.91 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.001483, allocations: 1.422 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.001503, allocations: 1.125 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.001559, allocations: 5.344 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.00168, allocations: 16.45 kB / 0.6483 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.001737, allocations: 22.8 kB / 0.6483 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.001772, allocations: 2.812 kB / 0.6483 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.001818, allocations: 17.7 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.001904, allocations: 15.25 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.001925, allocations: 1.688 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.001932, allocations: 2.188 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.001946, allocations: 1.422 kB / 0.6484 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.001967, allocations: 13.61 kB / 0.6484 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.427e-05/0.002021, allocations: 12.25 kB / 0.6484 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002023, allocations: 2.438 kB / 0.6484 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002023, allocations: 0 / 0.6484 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002027, allocations: 1.438 kB / 0.6484 GB, free: 37.86 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.00032/0.002347, allocations: 372.8 kB / 0.6487 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.00238, allocations: 12.59 kB / 0.6487 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.002416, allocations: 8.156 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.002481, allocations: 121.8 kB / 0.6489 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.0025, allocations: 2.688 kB / 0.6489 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.002507, allocations: 4.125 kB / 0.6489 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.002617, allocations: 79.02 kB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.002625, allocations: 192 / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.002633, allocations: 1.844 kB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00264, allocations: 2.188 kB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/0.002672, allocations: 17.55 kB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.00288, allocations: 373.5 kB / 0.6493 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.002933, allocations: 41.59 kB / 0.6494 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.002953, allocations: 16.66 kB / 0.6494 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.002964, allocations: 0 / 0.6494 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.002977, allocations: 38.23 kB / 0.6494 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.002978, allocations: 0 / 0.6494 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001438/0.003122, allocations: 61.59 kB / 0.6495 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.003138, allocations: 51.41 kB / 0.6495 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.003196, allocations: 172.1 kB / 0.6497 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.003203, allocations: 29.7 kB / 0.6497 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.003234, allocations: 133 kB / 0.6498 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.003243, allocations: 19.31 kB / 0.6499 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.003267, allocations: 28.27 kB / 0.6499 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.003307, allocations: 492.1 kB / 0.6504 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.003322, allocations: 10.22 kB / 0.6504 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.00334, allocations: 30.53 kB / 0.6504 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.003374, allocations: 32.92 kB / 0.6504 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003376, allocations: 1.062 kB / 0.6504 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.675e-05/0.003432, allocations: 65.45 kB / 0.6505 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.003444, allocations: 10.97 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.003448, allocations: 0 / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.003461, allocations: 4.844 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.003536, allocations: 16.23 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.00354, allocations: 2.188 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.003563, allocations: 6.172 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.003568, allocations: 4.781 kB / 0.6505 GB, free: 35.67 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.552e-05/0.003604, allocations: 165.7 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.003616, allocations: 0 / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.003691, allocations: 63.59 kB / 0.6508 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003692, allocations: 2 kB / 0.6508 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.003695, allocations: 0 / 0.6508 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.003698, allocations: 0 / 0.6508 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.932e-05/0.003767, allocations: 120.9 kB / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.003768, allocations: 0 / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.0038, allocations: 10.19 kB / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.003801, allocations: 6.984 kB / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.003807, allocations: 0 / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.003808, allocations: 3.938 kB / 0.6509 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.003809, allocations: 3.75 kB / 0.6509 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.802e-05/0.003877, allocations: 204.7 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.003885, allocations: 2.219 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.003894, allocations: 5.906 kB / 0.6511 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.003925, allocations: 6.719 kB / 0.6511 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.00395, allocations: 9.547 kB / 0.6511 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.003952, allocations: 0 / 0.6511 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.003978, allocations: 132.3 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.003978, allocations: 0 / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001365/0.004115, allocations: 5.719 kB / 0.6512 GB, free: 34.98 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 4.821e-05/0.004163, allocations: 99.06 kB / 0.6513 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.00424, allocations: 34.88 kB / 0.6514 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.51e-07/0.004241, allocations: 1.312 kB / 0.6514 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.004258, allocations: 16.59 kB / 0.6514 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.004425, allocations: 6.844 kB / 0.6514 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.004783, allocations: 150.3 kB / 0.6515 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.223e-05/0.004805, allocations: 62.41 kB / 0.6516 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.787e-05/0.004823, allocations: 2.062 kB / 0.6516 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.004845, allocations: 12.44 kB / 0.6516 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of SimCode: time 6.91e-07/0.004846, allocations: 0 / 0.6516 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of Templates: time 0.001972/0.006817, allocations: 0.5244 MB / 0.6521 GB, free: 34.58 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.597985291853547]