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.001019/0.001019, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00101/0.00101, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9297/0.9297, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.681/1.681, allocations: 273.5 MB / 0.5213 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.923e-06/1.923e-06, allocations: 0 / 0.647 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.457e-05, allocations: 3.719 kB / 0.647 GB, free: 38.75 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001788/0.001812, allocations: 1.299 MB / 0.6482 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.001974, allocations: 42.53 kB / 0.6483 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.002005, allocations: 0 / 0.6483 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.002024, allocations: 6.344 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.002083, allocations: 1.312 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.00221, allocations: 16.08 kB / 0.6483 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.002276, allocations: 26.56 kB / 0.6483 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.002322, allocations: 6.031 kB / 0.6483 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.002379, allocations: 16.05 kB / 0.6483 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.002473, allocations: 9.266 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.002494, allocations: 1.625 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.002502, allocations: 4.891 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.002518, allocations: 1.312 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002542, allocations: 12.62 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.077e-05/0.002602, allocations: 16.34 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.002605, allocations: 1.281 kB / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002606, allocations: 0 / 0.6484 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.002611, allocations: 0 / 0.6484 GB, free: 37.84 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.000329/0.00294, allocations: 375.8 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.002975, allocations: 10.28 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.003011, allocations: 5.281 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.003082, allocations: 117.4 kB / 0.6489 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.003102, allocations: 4.031 kB / 0.6489 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.003111, allocations: 384 / 0.6489 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003236, allocations: 84.27 kB / 0.649 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003243, allocations: 192 / 0.649 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.003253, allocations: 2.469 kB / 0.649 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.00326, allocations: 384 / 0.649 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.003294, allocations: 17.33 kB / 0.649 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.003495, allocations: 375.6 kB / 0.6493 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.003548, allocations: 40.12 kB / 0.6494 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.00357, allocations: 16.3 kB / 0.6494 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.003582, allocations: 0 / 0.6494 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.003596, allocations: 35.27 kB / 0.6494 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.003597, allocations: 1.562 kB / 0.6494 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.003745, allocations: 65.19 kB / 0.6495 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.003767, allocations: 51.41 kB / 0.6495 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.003832, allocations: 172.9 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.003837, allocations: 26.95 kB / 0.6497 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.003873, allocations: 136.6 kB / 0.6499 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.003882, allocations: 18.94 kB / 0.6499 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.003908, allocations: 23.47 kB / 0.6499 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.003954, allocations: 498.8 kB / 0.6504 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.003971, allocations: 3.969 kB / 0.6504 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.003991, allocations: 28.78 kB / 0.6504 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.00403, allocations: 38.69 kB / 0.6504 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004032, allocations: 0.9688 kB / 0.6504 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.118e-05/0.004103, allocations: 56.38 kB / 0.6505 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.004117, allocations: 10.53 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.004122, allocations: 0.7188 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.004136, allocations: 2.656 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.004225, allocations: 19.58 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.004231, allocations: 5.625 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.004256, allocations: 6.672 kB / 0.6505 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.004261, allocations: 4.5 kB / 0.6506 GB, free: 35.66 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.838e-05/0.0043, allocations: 157.4 kB / 0.6507 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.004314, allocations: 2.719 kB / 0.6507 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.004407, allocations: 64.62 kB / 0.6508 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.00441, allocations: 1.219 kB / 0.6508 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.004413, allocations: 0 / 0.6508 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.004415, allocations: 4.938 kB / 0.6508 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.498e-05/0.00449, allocations: 123.7 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.004491, allocations: 0 / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.004531, allocations: 12.03 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.004533, allocations: 1.312 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.00454, allocations: 5.844 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.004541, allocations: 4.812 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.004543, allocations: 7.219 kB / 0.6509 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.733e-05/0.00462, allocations: 199.3 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.00463, allocations: 5.469 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.00464, allocations: 2.094 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.004673, allocations: 7.281 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.004703, allocations: 3.797 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.004706, allocations: 1.469 kB / 0.6511 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.004732, allocations: 137.6 kB / 0.6513 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.004732, allocations: 0 / 0.6513 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001399/0.004872, allocations: 5.891 kB / 0.6513 GB, free: 34.96 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.097e-05/0.004933, allocations: 97.14 kB / 0.6514 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.005017, allocations: 33.33 kB / 0.6514 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.005019, allocations: 0 / 0.6514 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.005037, allocations: 23.25 kB / 0.6514 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.005222, allocations: 6.094 kB / 0.6514 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.005656, allocations: 145 kB / 0.6516 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.005684, allocations: 62.97 kB / 0.6516 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.005706, allocations: 3.781 kB / 0.6516 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.005732, allocations: 16.44 kB / 0.6516 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of SimCode: time 1.062e-06/0.005733, allocations: 0 / 0.6516 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of Templates: time 0.002069/0.007802, allocations: 0.5013 MB / 0.6521 GB, free: 34.56 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.794265212956816]