Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.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.0007127/0.0007127, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009489/0.001662, 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.001735/0.001735, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001836/0.00357, 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09792/1.136, allocations: 53.65 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.7204/0.7204, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03142/0.7519, allocations: 21.04 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.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.002732/0.002752, allocations: 2.755 MB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000582/0.003334, allocations: 319.1 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.003425, allocations: 4 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.516e-05/0.0035, allocations: 35.58 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.003717, allocations: 131 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.003819, allocations: 67.78 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.004096, allocations: 406 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004208, allocations: 53.86 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.004428, allocations: 290.5 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.004615, allocations: 143.6 kB / 0.5485 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.004652, allocations: 24 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.734e-05/0.00469, allocations: 28 kB / 0.5486 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.004726, allocations: 43.75 kB / 0.5486 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.004816, allocations: 95.81 kB / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.005017, allocations: 211.2 kB / 0.5489 GB, free: 26.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.005031, allocations: 0 / 0.5489 GB, free: 26.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005033, allocations: 0 / 0.5489 GB, free: 26.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.005049, allocations: 0 / 0.5489 GB, free: 26.06 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.0007558/0.005805, allocations: 0.6746 MB / 0.5496 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.005835, allocations: 19.89 kB / 0.5496 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.005896, allocations: 40.91 kB / 0.5496 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006095, allocations: 209.4 kB / 0.5498 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.006116, allocations: 12.88 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.006148, allocations: 26.06 kB / 0.5499 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.006349, allocations: 245.6 kB / 0.5501 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.006365, allocations: 8.141 kB / 0.5501 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.00638, allocations: 8.375 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006387, allocations: 8.375 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.006531, allocations: 186.4 kB / 0.5503 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.007023, allocations: 374.1 kB / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.007269, allocations: 205.3 kB / 0.5508 GB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.007338, allocations: 134.2 kB / 0.551 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.007351, allocations: 12 kB / 0.551 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.007555, allocations: 412.9 kB / 0.5514 GB, free: 23.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.007557, allocations: 0 / 0.5514 GB, free: 23.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009235/0.00848, allocations: 1.089 MB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.008536, allocations: 302.7 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.008666, allocations: 237 kB / 0.553 GB, free: 21.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.008685, allocations: 37.7 kB / 0.553 GB, free: 21.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.008714, allocations: 133.4 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.008786, allocations: 146.8 kB / 0.5533 GB, free: 21.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.008861, allocations: 78.16 kB / 0.5533 GB, free: 21.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.008903, allocations: 350.7 kB / 0.5537 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.009004, allocations: 151.9 kB / 0.5538 GB, free: 20.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.009108, allocations: 236.3 kB / 0.554 GB, free: 20.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.009364, allocations: 0.5002 MB / 0.5545 GB, free: 19.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.009366, allocations: 4 kB / 0.5545 GB, free: 19.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000295/0.009661, allocations: 415.3 kB / 0.5549 GB, free: 19.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.009699, allocations: 85.45 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.009705, allocations: 4 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.009719, allocations: 15.92 kB / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.01006, allocations: 137.8 kB / 0.5552 GB, free: 18.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01006, allocations: 4 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.01021, allocations: 23.98 kB / 0.5552 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.01022, allocations: 12 kB / 0.5552 GB, free: 18.93 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.0001384/0.01036, allocations: 240.8 kB / 0.5554 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.01041, allocations: 43.91 kB / 0.5555 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.01045, allocations: 35.3 kB / 0.5555 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01046, allocations: 8 kB / 0.5555 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01046, allocations: 0 / 0.5555 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01046, allocations: 4 kB / 0.5555 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.01098, allocations: 0.6343 MB / 0.5561 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01098, allocations: 0 / 0.5561 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.01128, allocations: 107.8 kB / 0.5562 GB, free: 17.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.01131, allocations: 23.81 kB / 0.5563 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01132, allocations: 4 kB / 0.5563 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.01134, allocations: 15.25 kB / 0.5563 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01134, allocations: 3.984 kB / 0.5563 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01134, allocations: 4 kB / 0.5563 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.01172, allocations: 0.6858 MB / 0.557 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.01177, allocations: 12 kB / 0.557 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.01191, allocations: 12 kB / 0.557 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01196, allocations: 31.94 kB / 0.557 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.01198, allocations: 8 kB / 0.557 GB, free: 16.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.115e-05/0.01206, allocations: 102.7 kB / 0.5571 GB, free: 16.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01206, allocations: 0 / 0.5571 GB, free: 16.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002786/0.01234, allocations: 100 kB / 0.5572 GB, free: 16.7 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 0.0001075/0.01244, allocations: 109.9 kB / 0.5573 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01274, allocations: 0.5215 MB / 0.5578 GB, free: 16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.01274, allocations: 4 kB / 0.5578 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.0129, allocations: 381.1 kB / 0.5582 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01322, allocations: 119.5 kB / 0.5583 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/0.02156, allocations: 0.8129 MB / 0.5591 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.207e-05/0.02161, allocations: 105.1 kB / 0.5592 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.02176, allocations: 38.97 kB / 0.5592 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.02198, allocations: 151.3 kB / 0.5594 GB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02198, allocations: 0 / 0.5594 GB, free: 14.28 MB / 410.7 MB Notification: Performance of Templates: time 0.2415/0.2635, allocations: 5.669 MB / 0.5649 GB, free: 84.39 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.779151998460293]