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.001169/0.001169, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002046/0.003215, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001075/0.001075, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.00237, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.011/1.011, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1024/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.8047/0.8047, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03397/0.8387, allocations: 21.05 MB / 0.5433 GB, free: 31.52 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.203e-06/1.203e-06, allocations: 0 / 0.5446 GB, free: 30.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.757e-05, allocations: 10.25 kB / 0.5446 GB, free: 30.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001757/0.001775, allocations: 1.35 MB / 0.5459 GB, free: 28.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 6.599e-05/0.001841, allocations: 43.8 kB / 0.546 GB, free: 28.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.001857, allocations: 4 kB / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.514e-06/0.001864, allocations: 3.938 kB / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.00189, allocations: 0 / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.117e-05/0.001931, allocations: 11.92 kB / 0.546 GB, free: 28.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.001978, allocations: 27.91 kB / 0.546 GB, free: 28.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.002012, allocations: 7.875 kB / 0.546 GB, free: 28.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.002071, allocations: 23.98 kB / 0.546 GB, free: 28.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.002142, allocations: 11.98 kB / 0.5461 GB, free: 28.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.002158, allocations: 3.938 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-06/0.002166, allocations: 4 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.00218, allocations: 4 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.002194, allocations: 4 kB / 0.5461 GB, free: 28.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.656e-05/0.002251, allocations: 19.91 kB / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.002262, allocations: 0 / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002263, allocations: 0 / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.00227, allocations: 0 / 0.5461 GB, free: 28.7 MB / 410.7 MB 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.0002785/0.002548, allocations: 243 kB / 0.5463 GB, free: 28.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.002577, allocations: 15.89 kB / 0.5463 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.002602, allocations: 0.9375 kB / 0.5463 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.865e-05/0.00266, allocations: 117.8 kB / 0.5464 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.002679, allocations: 384 / 0.5464 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.002689, allocations: 8.359 kB / 0.5465 GB, free: 28.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.002781, allocations: 72.59 kB / 0.5465 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.002787, allocations: 192 / 0.5465 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.002793, allocations: 4.375 kB / 0.5465 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.002797, allocations: 384 / 0.5465 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.002817, allocations: 11.92 kB / 0.5465 GB, free: 28.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.00296, allocations: 231.7 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.002998, allocations: 30.58 kB / 0.5468 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.003013, allocations: 12.86 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.003023, allocations: 3.984 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.003034, allocations: 34.62 kB / 0.5468 GB, free: 27.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003035, allocations: 0 / 0.5468 GB, free: 27.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.281e-05/0.003128, allocations: 53.66 kB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.003145, allocations: 51.41 kB / 0.5469 GB, free: 27.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.368e-05/0.003189, allocations: 110.7 kB / 0.547 GB, free: 27.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.003194, allocations: 25.7 kB / 0.5471 GB, free: 27.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.003219, allocations: 99.95 kB / 0.5472 GB, free: 27.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.003227, allocations: 11.91 kB / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.003248, allocations: 21.7 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.003282, allocations: 318.8 kB / 0.5475 GB, free: 27.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.003292, allocations: 4 kB / 0.5475 GB, free: 27.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.003307, allocations: 17.7 kB / 0.5475 GB, free: 27.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.003337, allocations: 33.64 kB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003338, allocations: 0 / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.647e-05/0.003385, allocations: 45.69 kB / 0.5476 GB, free: 26.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003396, allocations: 8 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.0034, allocations: 3.984 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.003411, allocations: 3.938 kB / 0.5476 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.003522, allocations: 27.95 kB / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.003525, allocations: 0 / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.003548, allocations: 11.95 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.003553, allocations: 0 / 0.5477 GB, free: 26.93 MB / 410.7 MB 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.248e-05/0.003585, allocations: 109.8 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.003598, allocations: 0 / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.003667, allocations: 60.67 kB / 0.5478 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.003669, allocations: 3.938 kB / 0.5478 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.003671, allocations: 0 / 0.5478 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.003673, allocations: 8 kB / 0.5478 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.915e-05/0.003743, allocations: 73.88 kB / 0.5479 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.003744, allocations: 7.938 kB / 0.5479 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.00379, allocations: 15.98 kB / 0.5479 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.003798, allocations: 0 / 0.5479 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0038, allocations: 4 kB / 0.5479 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.003804, allocations: 0 / 0.5479 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.003805, allocations: 0 / 0.5479 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.003807, allocations: 3.938 kB / 0.5479 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.772e-05/0.003855, allocations: 139.5 kB / 0.5481 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.003862, allocations: 0 / 0.5481 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.00389, allocations: 4 kB / 0.5481 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.003912, allocations: 7.984 kB / 0.5481 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.003915, allocations: 7.438 kB / 0.5481 GB, free: 26.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.169e-05/0.003927, allocations: 12.86 kB / 0.5481 GB, free: 26.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003927, allocations: 7.875 kB / 0.5481 GB, free: 26.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00011/0.004037, allocations: 8 kB / 0.5481 GB, free: 26.41 MB / 410.7 MB 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.7e-05/0.004094, allocations: 80.41 kB / 0.5482 GB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.667e-05/0.004151, allocations: 20.84 kB / 0.5482 GB, free: 26.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.004155, allocations: 4.094 kB / 0.5482 GB, free: 26.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.00418, allocations: 24.84 kB / 0.5482 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.004327, allocations: 8 kB / 0.5482 GB, free: 26.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.004812, allocations: 136.3 kB / 0.5484 GB, free: 26.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.168e-05/0.004834, allocations: 55.36 kB / 0.5484 GB, free: 26.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.004855, allocations: 3.984 kB / 0.5484 GB, free: 26.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.004894, allocations: 55.38 kB / 0.5485 GB, free: 25.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.004895, allocations: 4 kB / 0.5485 GB, free: 25.96 MB / 410.7 MB Notification: Performance of Templates: time 0.001805/0.0067, allocations: 0.5767 MB / 0.549 GB, free: 25.4 MB / 410.7 MB " [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: 3.372331622056663]