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.001034/0.001034, allocations: 73.88 kB / 20.66 MB, free: 3.836 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.001002/0.001002, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.9543/0.9543, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.722/1.722, allocations: 273.5 MB / 0.522 GB, free: 14.71 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.924e-06/1.924e-06, allocations: 0 / 0.6482 GB, free: 38.49 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.071e-05, allocations: 2.312 kB / 0.6482 GB, free: 38.48 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002083/0.002104, allocations: 1.291 MB / 0.6494 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.00228, allocations: 47.38 kB / 0.6495 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.002313, allocations: 0 / 0.6495 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.002333, allocations: 7.312 kB / 0.6495 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.002401, allocations: 4.594 kB / 0.6495 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.002532, allocations: 9.578 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.002596, allocations: 24.67 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.00265, allocations: 3.938 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.002704, allocations: 12.58 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.002804, allocations: 11.23 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.002822, allocations: 2.844 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.00283, allocations: 1.312 kB / 0.6495 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.002853, allocations: 14.05 kB / 0.6496 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.002874, allocations: 10.88 kB / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.639e-05/0.00294, allocations: 17.36 kB / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002942, allocations: 0 / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002943, allocations: 0 / 0.6496 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.002948, allocations: 2.25 kB / 0.6496 GB, free: 37.57 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.0003296/0.003277, allocations: 369.2 kB / 0.6499 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.003313, allocations: 9.594 kB / 0.6499 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.003342, allocations: 6.844 kB / 0.65 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.003413, allocations: 121.2 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.00343, allocations: 2.875 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.003437, allocations: 384 / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.003542, allocations: 78.22 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.003551, allocations: 5.406 kB / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.003557, allocations: 384 / 0.6501 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.003563, allocations: 1.688 kB / 0.6502 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.003593, allocations: 10.84 kB / 0.6502 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.003783, allocations: 359.4 kB / 0.6505 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.003837, allocations: 40.38 kB / 0.6505 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.003854, allocations: 14.53 kB / 0.6506 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.003865, allocations: 1.75 kB / 0.6506 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.003882, allocations: 34.98 kB / 0.6506 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.003883, allocations: 0 / 0.6506 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001347/0.004018, allocations: 56.77 kB / 0.6506 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.004039, allocations: 53.59 kB / 0.6507 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.004097, allocations: 169 kB / 0.6509 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.004103, allocations: 30.95 kB / 0.6509 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.004139, allocations: 139.3 kB / 0.651 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.00415, allocations: 18.09 kB / 0.651 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.004184, allocations: 18.88 kB / 0.6511 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.004241, allocations: 0.4915 MB / 0.6515 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.004255, allocations: 1.719 kB / 0.6515 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.004279, allocations: 34.31 kB / 0.6516 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.004318, allocations: 29.08 kB / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.00432, allocations: 0 / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.309e-05/0.004403, allocations: 63.06 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.004414, allocations: 7.25 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004419, allocations: 0 / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.004436, allocations: 5.5 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.004523, allocations: 20.09 kB / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.004526, allocations: 0 / 0.6517 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.004563, allocations: 11.47 kB / 0.6517 GB, free: 35.42 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.00457, allocations: 1.938 kB / 0.6517 GB, free: 35.42 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 5.071e-05/0.004621, allocations: 164.1 kB / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.004645, allocations: 1.156 kB / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/0.004727, allocations: 55.17 kB / 0.6519 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.004731, allocations: 7.062 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.004733, allocations: 3.797 kB / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.004737, allocations: 0 / 0.6519 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.004851, allocations: 96.14 kB / 0.652 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004852, allocations: 0 / 0.652 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.0049, allocations: 13.75 kB / 0.652 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.004903, allocations: 7.609 kB / 0.652 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.004909, allocations: 4 kB / 0.652 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.004911, allocations: 3.938 kB / 0.652 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.004912, allocations: 3.781 kB / 0.652 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.536e-05/0.004997, allocations: 204.1 kB / 0.6522 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.005008, allocations: 2.594 kB / 0.6522 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005017, allocations: 1.5 kB / 0.6522 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.005074, allocations: 5.969 kB / 0.6522 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.005096, allocations: 5.906 kB / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.0051, allocations: 0 / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.468e-05/0.005124, allocations: 137.8 kB / 0.6524 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.005124, allocations: 0 / 0.6524 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002399/0.005364, allocations: 5.75 kB / 0.6524 GB, free: 34.75 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.494e-05/0.005429, allocations: 97.09 kB / 0.6525 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.005506, allocations: 32.77 kB / 0.6525 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.81e-07/0.005507, allocations: 1.5 kB / 0.6525 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.967e-05/0.005527, allocations: 17.12 kB / 0.6525 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.0002356/0.005763, allocations: 3.406 kB / 0.6525 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.006107, allocations: 152.7 kB / 0.6527 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.006139, allocations: 60.44 kB / 0.6527 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.006164, allocations: 6.859 kB / 0.6527 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.006204, allocations: 72.05 kB / 0.6528 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of SimCode: time 5.91e-07/0.006205, allocations: 0 / 0.6528 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of Templates: time 0.002227/0.008431, allocations: 0.5688 MB / 0.6534 GB, free: 34.3 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.753371965605766]