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.001039/0.001039, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001051/0.001051, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.9555/0.9555, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.75/1.75, allocations: 273.5 MB / 0.5212 GB, free: 14.73 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.384e-06/2.384e-06, allocations: 0 / 0.6474 GB, free: 38.5 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.022e-05, allocations: 5.344 kB / 0.6474 GB, free: 38.49 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001646/0.001666, allocations: 1.291 MB / 0.6487 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001515/0.001817, allocations: 42.39 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.001845, allocations: 0 / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.001863, allocations: 8.75 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.001919, allocations: 9.047 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.002035, allocations: 9.094 kB / 0.6487 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.002084, allocations: 25.33 kB / 0.6487 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.002122, allocations: 0 / 0.6487 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.002173, allocations: 20.39 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.002253, allocations: 14.16 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.002269, allocations: 3.25 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.002275, allocations: 2.625 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.002291, allocations: 9.094 kB / 0.6488 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.002309, allocations: 5.094 kB / 0.6488 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.72e-05/0.002366, allocations: 16.48 kB / 0.6488 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002368, allocations: 0 / 0.6488 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002369, allocations: 1.031 kB / 0.6488 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.002372, allocations: 2.375 kB / 0.6488 GB, free: 37.58 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.0002768/0.002649, allocations: 369.2 kB / 0.6492 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.002684, allocations: 10.88 kB / 0.6492 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.002707, allocations: 4.406 kB / 0.6492 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.478e-05/0.002762, allocations: 123.3 kB / 0.6493 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.002778, allocations: 3.438 kB / 0.6493 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.002787, allocations: 2.156 kB / 0.6493 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.002875, allocations: 80.36 kB / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.002881, allocations: 1.406 kB / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.002887, allocations: 384 / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.002894, allocations: 5.312 kB / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.002917, allocations: 15.67 kB / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.003096, allocations: 355.3 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.003137, allocations: 44.38 kB / 0.6498 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.003153, allocations: 10.03 kB / 0.6498 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.003163, allocations: 1.906 kB / 0.6498 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.003178, allocations: 35.89 kB / 0.6498 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.003179, allocations: 2.594 kB / 0.6498 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001096/0.003289, allocations: 58.31 kB / 0.6499 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.003306, allocations: 55.34 kB / 0.6499 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.003356, allocations: 168.1 kB / 0.6501 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.003361, allocations: 27.42 kB / 0.6501 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.003393, allocations: 132.6 kB / 0.6503 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.003401, allocations: 20.89 kB / 0.6503 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.003425, allocations: 24.73 kB / 0.6503 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.003472, allocations: 497.5 kB / 0.6508 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.003482, allocations: 4.156 kB / 0.6508 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.0035, allocations: 33.23 kB / 0.6508 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.003531, allocations: 28.97 kB / 0.6508 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003533, allocations: 2.719 kB / 0.6508 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.547e-05/0.003588, allocations: 58.23 kB / 0.6509 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.003599, allocations: 7.062 kB / 0.6509 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.003603, allocations: 0 / 0.6509 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.003615, allocations: 5.344 kB / 0.6509 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.00369, allocations: 18.12 kB / 0.6509 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.003693, allocations: 3.938 kB / 0.6509 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.003719, allocations: 8.953 kB / 0.6509 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.003724, allocations: 2.188 kB / 0.6509 GB, free: 35.43 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.879e-05/0.003762, allocations: 156.6 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.003777, allocations: 8.406 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.003851, allocations: 57.53 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.003853, allocations: 5.25 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.003855, allocations: 1.281 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003858, allocations: 2.469 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.526e-05/0.003933, allocations: 102.9 kB / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.003934, allocations: 0 / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.003973, allocations: 16.94 kB / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.003975, allocations: 3.375 kB / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.003979, allocations: 4 kB / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00398, allocations: 1.469 kB / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003981, allocations: 0 / 0.6513 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.675e-05/0.004047, allocations: 202.3 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.004056, allocations: 2.375 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.004062, allocations: 2.656 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.004093, allocations: 1.719 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.004114, allocations: 13.12 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.004116, allocations: 3.562 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.004137, allocations: 132.9 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004137, allocations: 0 / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001357/0.004273, allocations: 5.062 kB / 0.6516 GB, free: 34.76 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.963e-05/0.004332, allocations: 103.2 kB / 0.6517 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 5.946e-05/0.004392, allocations: 28.31 kB / 0.6518 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.004393, allocations: 1.25 kB / 0.6518 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.004409, allocations: 26.8 kB / 0.6518 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.004576, allocations: 4 kB / 0.6518 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.004922, allocations: 146.5 kB / 0.6519 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.421e-05/0.004946, allocations: 63.08 kB / 0.652 GB, free: 34.42 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.004965, allocations: 1.719 kB / 0.652 GB, free: 34.42 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.004999, allocations: 73.33 kB / 0.6521 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of SimCode: time 5.81e-07/0.005, allocations: 0 / 0.6521 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of Templates: time 0.001887/0.006887, allocations: 0.5347 MB / 0.6526 GB, free: 34.31 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.666408621240407]