Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.0009823/0.0009823, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002495, allocations: 435.8 kB / 10.33 MB, free: 368 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.00104/0.00104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002349, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.137, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7616/0.7616, allocations: 291.1 MB / 0.5225 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02856/0.7902, allocations: 21.05 MB / 0.5431 GB, free: 31.81 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.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5443 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.448e-05, allocations: 6.25 kB / 0.5443 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001811/0.001825, allocations: 1.346 MB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 9.502e-05/0.00192, allocations: 51.78 kB / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.001947, allocations: 0 / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.001976, allocations: 3.938 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.002008, allocations: 11.92 kB / 0.5457 GB, free: 29.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.168e-05/0.0021, allocations: 15.86 kB / 0.5457 GB, free: 29.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.002183, allocations: 31.91 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.002221, allocations: 4 kB / 0.5458 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.002301, allocations: 19.92 kB / 0.5458 GB, free: 29.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.002398, allocations: 15.98 kB / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.002419, allocations: 0 / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.002428, allocations: 0 / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.002447, allocations: 7.938 kB / 0.5458 GB, free: 29.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.002472, allocations: 4 kB / 0.5458 GB, free: 29.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.511e-05/0.002537, allocations: 11.92 kB / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.002552, allocations: 0 / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002552, allocations: 0 / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.002574, allocations: 0 / 0.5458 GB, free: 29.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003081/0.002882, allocations: 263 kB / 0.5461 GB, free: 28.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.002908, allocations: 11.89 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.002932, allocations: 12.36 kB / 0.5461 GB, free: 28.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.003006, allocations: 105.8 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.003013, allocations: 384 / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.003019, allocations: 384 / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.003101, allocations: 72.59 kB / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003107, allocations: 192 / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003113, allocations: 384 / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.003117, allocations: 384 / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.003133, allocations: 15.92 kB / 0.5463 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.00328, allocations: 235.2 kB / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.665e-05/0.003307, allocations: 22.59 kB / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.003318, allocations: 4.859 kB / 0.5465 GB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.003328, allocations: 0 / 0.5465 GB, free: 28.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.00334, allocations: 30.56 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.9e-07/0.00334, allocations: 4.062 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.754e-05/0.003418, allocations: 41.56 kB / 0.5466 GB, free: 28.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.003435, allocations: 51.41 kB / 0.5467 GB, free: 28.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.092e-05/0.003476, allocations: 122.8 kB / 0.5468 GB, free: 27.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-06/0.00348, allocations: 25.7 kB / 0.5468 GB, free: 27.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.003508, allocations: 88.12 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.003515, allocations: 11.94 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.003533, allocations: 9.719 kB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.346e-05/0.003556, allocations: 318.8 kB / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.003562, allocations: 0 / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.003574, allocations: 13.72 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.003595, allocations: 24.47 kB / 0.5472 GB, free: 27.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.003596, allocations: 4.062 kB / 0.5472 GB, free: 27.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.055e-05/0.003627, allocations: 33.7 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.003637, allocations: 14.73 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003641, allocations: 0 / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.003648, allocations: 7.938 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.003695, allocations: 4 kB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.003697, allocations: 0 / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.003715, allocations: 4 kB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.003721, allocations: 3.984 kB / 0.5473 GB, free: 27.32 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 (2): * Single equations (assignments): 2 * 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 2.99e-05/0.003751, allocations: 120.7 kB / 0.5474 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.003761, allocations: 0 / 0.5474 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.003812, allocations: 43.67 kB / 0.5475 GB, free: 27.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003814, allocations: 3.938 kB / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.003815, allocations: 0 / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.003818, allocations: 0 / 0.5475 GB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.023e-05/0.003878, allocations: 69.88 kB / 0.5475 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003879, allocations: 4 kB / 0.5475 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.003895, allocations: 7.938 kB / 0.5476 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.003901, allocations: 11.27 kB / 0.5476 GB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.003903, allocations: 8.031 kB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.003906, allocations: 0 / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003906, allocations: 0 / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.003907, allocations: 3.938 kB / 0.5476 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.517e-05/0.003942, allocations: 127.5 kB / 0.5477 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.003949, allocations: 0 / 0.5477 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.003978, allocations: 7.984 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.003995, allocations: 3.938 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.003997, allocations: 3.938 kB / 0.5477 GB, free: 26.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.699e-06/0.004006, allocations: 16.84 kB / 0.5477 GB, free: 26.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004006, allocations: 4.031 kB / 0.5477 GB, free: 26.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001094/0.004116, allocations: 7.938 kB / 0.5477 GB, free: 26.84 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 (2): * Single equations (assignments): 2 * 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.132e-05/0.004157, allocations: 80.42 kB / 0.5478 GB, free: 26.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.449e-05/0.004202, allocations: 8.859 kB / 0.5478 GB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.004205, allocations: 4 kB / 0.5478 GB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.004215, allocations: 4.859 kB / 0.5478 GB, free: 26.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.00434, allocations: 15.42 kB / 0.5478 GB, free: 26.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.004818, allocations: 139.3 kB / 0.548 GB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.909e-05/0.004837, allocations: 59.34 kB / 0.548 GB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.004852, allocations: 0 / 0.548 GB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.004882, allocations: 51.38 kB / 0.5481 GB, free: 26.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004882, allocations: 0 / 0.5481 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Templates: time 0.00166/0.006542, allocations: 0.4891 MB / 0.5486 GB, free: 25.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.393658170476556]