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.001097/0.001097, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.00264, allocations: 443.8 kB / 10.3 MB, free: 400 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.001179/0.001179, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.00262, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.022/1.022, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7242/0.7242, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02343/0.7476, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.403e-06/1.403e-06, allocations: 0 / 0.5443 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.976e-05, allocations: 2.312 kB / 0.5443 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.003394/0.003414, allocations: 2.718 MB / 0.547 GB, free: 27.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.003877, allocations: 282.9 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.003974, allocations: 0 / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.712e-05/0.004061, allocations: 39.58 kB / 0.5473 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.004282, allocations: 115 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.004409, allocations: 67.89 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.00472, allocations: 378.1 kB / 0.5478 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004854, allocations: 58.73 kB / 0.5479 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.005109, allocations: 253.6 kB / 0.5481 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.005298, allocations: 127.6 kB / 0.5482 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.005346, allocations: 24 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.005395, allocations: 24 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.005436, allocations: 39.81 kB / 0.5483 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.005542, allocations: 91.81 kB / 0.5484 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.005784, allocations: 211.2 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.005799, allocations: 0 / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.0058, allocations: 0 / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.005815, allocations: 0 / 0.5486 GB, free: 26.12 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.0008215/0.006636, allocations: 0.6357 MB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.006667, allocations: 11.89 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.006738, allocations: 40.91 kB / 0.5493 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.006951, allocations: 197.5 kB / 0.5495 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.006978, allocations: 16.86 kB / 0.5495 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.007014, allocations: 28.33 kB / 0.5495 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.007248, allocations: 241.7 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.007264, allocations: 4.188 kB / 0.5497 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.007282, allocations: 12.38 kB / 0.5498 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007289, allocations: 4.375 kB / 0.5498 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.00746, allocations: 190.4 kB / 0.5499 GB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.008021, allocations: 370.1 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.00829, allocations: 209.3 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.008378, allocations: 130.2 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.008392, allocations: 4 kB / 0.5506 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.008623, allocations: 416.9 kB / 0.551 GB, free: 23.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.008625, allocations: 0 / 0.551 GB, free: 23.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.001096/0.00972, allocations: 1.077 MB / 0.5521 GB, free: 22.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.009774, allocations: 298.7 kB / 0.5524 GB, free: 21.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.009906, allocations: 217 kB / 0.5526 GB, free: 21.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.009927, allocations: 37.69 kB / 0.5526 GB, free: 21.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.009958, allocations: 129.3 kB / 0.5527 GB, free: 21.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.01004, allocations: 146.8 kB / 0.5529 GB, free: 21.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.01013, allocations: 78.17 kB / 0.5529 GB, free: 21.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.01017, allocations: 350.7 kB / 0.5533 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.01027, allocations: 147.9 kB / 0.5534 GB, free: 20.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.01039, allocations: 232.2 kB / 0.5536 GB, free: 20.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.01069, allocations: 0.5037 MB / 0.5541 GB, free: 19.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01069, allocations: 3.938 kB / 0.5541 GB, free: 19.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003158/0.01101, allocations: 411.5 kB / 0.5545 GB, free: 19.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.01105, allocations: 93.09 kB / 0.5546 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01105, allocations: 4 kB / 0.5546 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01107, allocations: 7.938 kB / 0.5546 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.01142, allocations: 125.8 kB / 0.5547 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01143, allocations: 15.12 kB / 0.5548 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01158, allocations: 20 kB / 0.5548 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.0116, allocations: 8 kB / 0.5548 GB, free: 19.11 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.0001472/0.01174, allocations: 248.8 kB / 0.555 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.0118, allocations: 39.91 kB / 0.5551 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.01184, allocations: 39.3 kB / 0.5551 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01185, allocations: 4 kB / 0.5551 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01185, allocations: 0 / 0.5551 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01185, allocations: 4 kB / 0.5551 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.01244, allocations: 0.6304 MB / 0.5557 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01244, allocations: 0 / 0.5557 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.01276, allocations: 95.48 kB / 0.5558 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.0128, allocations: 23.81 kB / 0.5558 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.0128, allocations: 4 kB / 0.5558 GB, free: 17.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.01282, allocations: 12 kB / 0.5558 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01282, allocations: 0 / 0.5558 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01283, allocations: 0 / 0.5558 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.01327, allocations: 0.6818 MB / 0.5565 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.01332, allocations: 11.98 kB / 0.5565 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01347, allocations: 12 kB / 0.5565 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.01353, allocations: 27.95 kB / 0.5566 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.01355, allocations: 15.98 kB / 0.5566 GB, free: 17.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.01363, allocations: 82.72 kB / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01363, allocations: 0 / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000347/0.01397, allocations: 96 kB / 0.5567 GB, free: 16.93 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 8.247e-05/0.01406, allocations: 92.42 kB / 0.5568 GB, free: 16.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.0144, allocations: 0.5298 MB / 0.5574 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.0144, allocations: 4 kB / 0.5574 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.01457, allocations: 380.5 kB / 0.5577 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.01497, allocations: 119.6 kB / 0.5578 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.02565, allocations: 0.7741 MB / 0.5586 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.02575, allocations: 169.7 kB / 0.5588 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.026, allocations: 147.3 kB / 0.5589 GB, free: 14.52 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.026, allocations: 0 / 0.5589 GB, free: 14.52 MB / 410.7 MB Notification: Performance of Templates: time 0.2129/0.2389, allocations: 4.068 MB / 0.5629 GB, free: 83.67 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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.230292529799044]