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.0007296/0.0007296, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001863, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007596/0.0007596, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001831, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1218/1.18, allocations: 53.66 MB / 243.3 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.7455/0.7455, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03319/0.7787, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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 2.254e-06/2.254e-06, allocations: 0 / 0.5445 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.765e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.004101/0.004129, allocations: 2.724 MB / 0.5471 GB, free: 27.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.005032, allocations: 286.9 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.005235, allocations: 4 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.005366, allocations: 35.58 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.005697, allocations: 115 kB / 0.5476 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.005888, allocations: 75.83 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.006352, allocations: 378.1 kB / 0.548 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.006528, allocations: 61.84 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.006877, allocations: 253.6 kB / 0.5483 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.007108, allocations: 123.6 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.007164, allocations: 24 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.007212, allocations: 24 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.007264, allocations: 43.8 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.007386, allocations: 95.8 kB / 0.5486 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007687, allocations: 203.2 kB / 0.5488 GB, free: 26.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.007703, allocations: 0 / 0.5488 GB, free: 26.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007704, allocations: 0 / 0.5488 GB, free: 26.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.007723, allocations: 0 / 0.5488 GB, free: 26.21 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.0008899/0.008613, allocations: 0.6318 MB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.008659, allocations: 11.89 kB / 0.5494 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.008744, allocations: 40.91 kB / 0.5494 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.008991, allocations: 193.5 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.009017, allocations: 16.88 kB / 0.5496 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.009068, allocations: 28.33 kB / 0.5497 GB, free: 25.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.009317, allocations: 241.6 kB / 0.5499 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.00934, allocations: 8.172 kB / 0.5499 GB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.00936, allocations: 12.38 kB / 0.5499 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.009369, allocations: 4.375 kB / 0.5499 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.009546, allocations: 186.4 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00066/0.01021, allocations: 378 kB / 0.5505 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.01051, allocations: 201.4 kB / 0.5507 GB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.0106, allocations: 138.2 kB / 0.5508 GB, free: 23.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01062, allocations: 4 kB / 0.5508 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.01089, allocations: 415.7 kB / 0.5512 GB, free: 23.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.706e-06/0.01089, allocations: 0 / 0.5512 GB, free: 23.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.001265/0.01216, allocations: 1.093 MB / 0.5523 GB, free: 22.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.01224, allocations: 387.8 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.01239, allocations: 213 kB / 0.5528 GB, free: 21.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01242, allocations: 37.7 kB / 0.5529 GB, free: 21.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.01246, allocations: 129.4 kB / 0.553 GB, free: 21.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.01255, allocations: 142.8 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.01264, allocations: 74.16 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.01271, allocations: 350.7 kB / 0.5535 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.01283, allocations: 147.9 kB / 0.5537 GB, free: 20.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.01299, allocations: 232.3 kB / 0.5539 GB, free: 20.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.01325, allocations: 0.5009 MB / 0.5544 GB, free: 19.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01325, allocations: 7.938 kB / 0.5544 GB, free: 19.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002419/0.01349, allocations: 415.6 kB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.01353, allocations: 89.11 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01354, allocations: 3.984 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01355, allocations: 11.94 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.01381, allocations: 132.5 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01381, allocations: 4 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01392, allocations: 20.12 kB / 0.555 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01393, allocations: 16 kB / 0.555 GB, free: 19.08 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.0001482/0.01408, allocations: 236.8 kB / 0.5553 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01411, allocations: 39.97 kB / 0.5553 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.01415, allocations: 39.23 kB / 0.5553 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01415, allocations: 0 / 0.5553 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01415, allocations: 0 / 0.5553 GB, free: 18.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.01418, allocations: 31.75 kB / 0.5554 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.01419, allocations: 15.98 kB / 0.5554 GB, free: 18.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.01423, allocations: 8 kB / 0.5554 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.0143, allocations: 12 kB / 0.5554 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01435, allocations: 32.22 kB / 0.5554 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000323/0.01467, allocations: 495.3 kB / 0.5559 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003192/0.01499, allocations: 0.7502 MB / 0.5567 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.742e-05/0.01508, allocations: 182.7 kB / 0.5568 GB, free: 17.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.01513, allocations: 70.8 kB / 0.5569 GB, free: 17.02 MB / 410.7 MB Notification: Performance of Backend: time 6.41e-07/0.01513, allocations: 4 kB / 0.5569 GB, free: 17.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.01546, allocations: 0.4922 MB / 0.5574 GB, free: 16.47 MB / 410.7 MB Notification: Performance of SimCode: time 0.01136/0.02682, allocations: 1.337 MB / 0.5587 GB, free: 15.05 MB / 410.7 MB Notification: Performance of Templates: time 0.2319/0.2587, allocations: 4.899 MB / 0.5635 GB, free: 85.07 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.666546148248017]