Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.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.001009/0.001009, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002302, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006954/0.0006954, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008561/0.001551, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9277/0.9277, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09994/1.028, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.811/0.811, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02809/0.8391, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") translateModel(Pharmacolibrary.Examples.Propofol.Schnider,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.146e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.001879/0.001891, allocations: 2.708 MB / 0.547 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.002254, allocations: 290.8 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.002326, allocations: 4 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.002389, allocations: 39.58 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.00254, allocations: 115 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.736e-05/0.002627, allocations: 67.86 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.002837, allocations: 378.1 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.002944, allocations: 58.86 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.003106, allocations: 249.6 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.003236, allocations: 127.6 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.003269, allocations: 27.94 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.003298, allocations: 28 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.003327, allocations: 35.88 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.003394, allocations: 87.81 kB / 0.5485 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003549, allocations: 203.2 kB / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.00356, allocations: 0 / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003561, allocations: 4 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.00357, allocations: 4 kB / 0.5487 GB, free: 26.26 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005643/0.004134, allocations: 0.6279 MB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.004162, allocations: 11.89 kB / 0.5493 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.004208, allocations: 40.91 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004358, allocations: 193.5 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.004376, allocations: 16.88 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.004401, allocations: 36.19 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.00456, allocations: 241.7 kB / 0.5498 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004571, allocations: 192 / 0.5498 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.004584, allocations: 12.38 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.004589, allocations: 8.375 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.004702, allocations: 194.4 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.005113, allocations: 370 kB / 0.5504 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.005292, allocations: 205.4 kB / 0.5506 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.005345, allocations: 138.2 kB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.005356, allocations: 4 kB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.005516, allocations: 420.3 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.005518, allocations: 0 / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007962/0.006314, allocations: 1.081 MB / 0.5522 GB, free: 22.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.006364, allocations: 298.7 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.006451, allocations: 213 kB / 0.5526 GB, free: 21.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.006465, allocations: 37.7 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.006489, allocations: 129.4 kB / 0.5528 GB, free: 21.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.006545, allocations: 142.8 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.0066, allocations: 78.16 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.006639, allocations: 346.7 kB / 0.5533 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.006706, allocations: 155.9 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.006791, allocations: 220.3 kB / 0.5537 GB, free: 20.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.006983, allocations: 0.5087 MB / 0.5542 GB, free: 19.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006984, allocations: 0 / 0.5542 GB, free: 19.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002013/0.007186, allocations: 415.6 kB / 0.5546 GB, free: 19.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.007219, allocations: 96.41 kB / 0.5547 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.007224, allocations: 4 kB / 0.5547 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.007235, allocations: 7.938 kB / 0.5547 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.007465, allocations: 125.8 kB / 0.5548 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.007469, allocations: 4 kB / 0.5548 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.007558, allocations: 23.92 kB / 0.5548 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.00757, allocations: 12 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001123/0.007683, allocations: 240.9 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.007718, allocations: 47.83 kB / 0.5551 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.00775, allocations: 35.31 kB / 0.5552 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007753, allocations: 4 kB / 0.5552 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.007754, allocations: 0 / 0.5552 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.007758, allocations: 3.984 kB / 0.5552 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.008154, allocations: 0.642 MB / 0.5558 GB, free: 18.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008156, allocations: 0 / 0.5558 GB, free: 18.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.008364, allocations: 87.25 kB / 0.5559 GB, free: 18.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.008389, allocations: 27.81 kB / 0.5559 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.008392, allocations: 0 / 0.5559 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.00841, allocations: 15.98 kB / 0.5559 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.008412, allocations: 0 / 0.5559 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008413, allocations: 4 kB / 0.5559 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.008729, allocations: 0.6779 MB / 0.5566 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.00876, allocations: 12 kB / 0.5566 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.008844, allocations: 15.98 kB / 0.5566 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.008896, allocations: 23.95 kB / 0.5566 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.008909, allocations: 12 kB / 0.5567 GB, free: 17.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.008957, allocations: 82.77 kB / 0.5567 GB, free: 17.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008957, allocations: 0 / 0.5567 GB, free: 17.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.009137, allocations: 100 kB / 0.5568 GB, free: 17.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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.125e-05/0.009198, allocations: 92.36 kB / 0.5569 GB, free: 16.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.009421, allocations: 0.5254 MB / 0.5574 GB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.009424, allocations: 4 kB / 0.5574 GB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.009538, allocations: 381.1 kB / 0.5578 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.009781, allocations: 119.9 kB / 0.5579 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.01576, allocations: 0.7878 MB / 0.5587 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.0158, allocations: 105.1 kB / 0.5588 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.01589, allocations: 30.97 kB / 0.5588 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.01604, allocations: 147.3 kB / 0.5589 GB, free: 14.68 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01604, allocations: 0 / 0.5589 GB, free: 14.68 MB / 410.7 MB Notification: Performance of Templates: time 0.2343/0.2503, allocations: 4.979 MB / 0.5638 GB, free: 83.94 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562118406407535]