Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.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.000701/0.000701, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.00184, 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.0006978/0.0006978, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001605, 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.01/1.01, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08546/1.095, 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.749/0.749, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02655/0.7756, allocations: 21.05 MB / 0.5432 GB, free: 31.48 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.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5445 GB, free: 30.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.349e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.002033/0.002047, allocations: 2.685 MB / 0.5471 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.002513, allocations: 310.9 kB / 0.5474 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.002589, allocations: 3.938 kB / 0.5474 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.002651, allocations: 35.64 kB / 0.5474 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.002824, allocations: 115.1 kB / 0.5475 GB, free: 27.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.829e-05/0.002913, allocations: 63.91 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.003127, allocations: 370.2 kB / 0.5479 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003239, allocations: 57.92 kB / 0.548 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.003642, allocations: 244 kB / 0.5482 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.003773, allocations: 119.7 kB / 0.5483 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.003808, allocations: 27.94 kB / 0.5484 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.003834, allocations: 24 kB / 0.5484 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.003864, allocations: 35.88 kB / 0.5484 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.003936, allocations: 91.81 kB / 0.5485 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.0041, allocations: 191.3 kB / 0.5487 GB, free: 25.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.00411, allocations: 4 kB / 0.5487 GB, free: 25.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004111, allocations: 0 / 0.5487 GB, free: 25.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.004122, allocations: 3.938 kB / 0.5487 GB, free: 25.83 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.0005758/0.004698, allocations: 0.6008 MB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004733, allocations: 8.031 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.004787, allocations: 36.91 kB / 0.5493 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.004958, allocations: 194 kB / 0.5495 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.004976, allocations: 16.88 kB / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.005004, allocations: 24.36 kB / 0.5496 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.005161, allocations: 249.6 kB / 0.5498 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.005173, allocations: 4.188 kB / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005184, allocations: 4.375 kB / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00519, allocations: 8.375 kB / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.0053, allocations: 186.4 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.005718, allocations: 382 kB / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.005908, allocations: 201.4 kB / 0.5506 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.005962, allocations: 130.2 kB / 0.5507 GB, free: 23.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.005975, allocations: 11.98 kB / 0.5507 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.006139, allocations: 419.6 kB / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.684e-06/0.006141, allocations: 0 / 0.5511 GB, free: 23.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007953/0.006936, allocations: 1.097 MB / 0.5522 GB, free: 21.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.006988, allocations: 383.8 kB / 0.5525 GB, free: 21.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.007068, allocations: 187.6 kB / 0.5527 GB, free: 21.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.007083, allocations: 33.7 kB / 0.5527 GB, free: 21.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.007104, allocations: 124.9 kB / 0.5529 GB, free: 21.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.00716, allocations: 142.8 kB / 0.553 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.007221, allocations: 82.14 kB / 0.5531 GB, free: 20.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.007257, allocations: 342.8 kB / 0.5534 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.007326, allocations: 151.9 kB / 0.5535 GB, free: 20.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.007411, allocations: 236.3 kB / 0.5538 GB, free: 20.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.007608, allocations: 0.497 MB / 0.5543 GB, free: 19.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.00761, allocations: 3.625 kB / 0.5543 GB, free: 19.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002198/0.00783, allocations: 411.4 kB / 0.5546 GB, free: 19.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.007862, allocations: 89.11 kB / 0.5547 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.007868, allocations: 4.344 kB / 0.5547 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007879, allocations: 11.94 kB / 0.5547 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.008121, allocations: 133.8 kB / 0.5549 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008126, allocations: 4 kB / 0.5549 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.00822, allocations: 19.98 kB / 0.5549 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.008232, allocations: 12 kB / 0.5549 GB, free: 18.77 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.0001173/0.00835, allocations: 252.7 kB / 0.5552 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.008381, allocations: 35.97 kB / 0.5552 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.008412, allocations: 42.91 kB / 0.5552 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008416, allocations: 0 / 0.5552 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008418, allocations: 7.938 kB / 0.5552 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.00844, allocations: 19.8 kB / 0.5553 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.008454, allocations: 15.98 kB / 0.5553 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.008486, allocations: 16 kB / 0.5553 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.008561, allocations: 19.98 kB / 0.5553 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.008613, allocations: 28.22 kB / 0.5553 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003159/0.008929, allocations: 495.3 kB / 0.5558 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005276/0.009456, allocations: 0.7424 MB / 0.5565 GB, free: 16.97 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.859e-05/0.009545, allocations: 186.7 kB / 0.5567 GB, free: 16.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.00959, allocations: 69.78 kB / 0.5568 GB, free: 16.7 MB / 410.7 MB Notification: Performance of Backend: time 2.8e-07/0.009591, allocations: 0 / 0.5568 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.009893, allocations: 491.9 kB / 0.5572 GB, free: 16.16 MB / 410.7 MB Notification: Performance of SimCode: time 0.005964/0.01586, allocations: 1.311 MB / 0.5585 GB, free: 14.76 MB / 410.7 MB Notification: Performance of Templates: time 0.2661/0.282, allocations: 4.933 MB / 0.5633 GB, free: 85.04 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.527204350568354]