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.001111/0.001111, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.00264, 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.001175/0.001175, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002626, 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08592/1.106, 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.8048/0.8048, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03571/0.8405, allocations: 21.04 MB / 0.5432 GB, free: 31.94 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 2.285e-06/2.285e-06, allocations: 0 / 0.5445 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.735e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.003484/0.003511, allocations: 2.76 MB / 0.5472 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.004256, allocations: 319.1 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.004364, allocations: 4 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.238e-05/0.004446, allocations: 39.58 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.004641, allocations: 126.9 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.004753, allocations: 67.83 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.005025, allocations: 402 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.005162, allocations: 61.86 kB / 0.5482 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.005376, allocations: 290.4 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.005548, allocations: 135.6 kB / 0.5486 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.005585, allocations: 28 kB / 0.5486 GB, free: 26.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/0.005614, allocations: 24 kB / 0.5486 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.005653, allocations: 51.73 kB / 0.5487 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.005754, allocations: 91.81 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005953, allocations: 211.2 kB / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.005965, allocations: 0 / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005967, allocations: 4 kB / 0.549 GB, free: 26.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.005979, allocations: 0 / 0.549 GB, free: 26.04 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.0007164/0.006695, allocations: 0.6746 MB / 0.5496 GB, free: 25.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006732, allocations: 11.89 kB / 0.5496 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.006794, allocations: 40.91 kB / 0.5497 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006985, allocations: 213.4 kB / 0.5499 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.007006, allocations: 16.88 kB / 0.5499 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.007044, allocations: 24.36 kB / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.007235, allocations: 237.7 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.007249, allocations: 8.141 kB / 0.5501 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.007262, allocations: 8.375 kB / 0.5501 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007268, allocations: 12.38 kB / 0.5502 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.007386, allocations: 186.4 kB / 0.5503 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.007838, allocations: 370.1 kB / 0.5507 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.008063, allocations: 209.3 kB / 0.5509 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.008128, allocations: 138.2 kB / 0.551 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.008141, allocations: 8 kB / 0.551 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.008333, allocations: 415.6 kB / 0.5514 GB, free: 23.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.355e-06/0.008335, allocations: 0 / 0.5514 GB, free: 23.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008882/0.009223, allocations: 1.101 MB / 0.5525 GB, free: 22.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.009296, allocations: 387.8 kB / 0.5529 GB, free: 21.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.009424, allocations: 237 kB / 0.5531 GB, free: 21.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.009441, allocations: 33.7 kB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.009469, allocations: 129.4 kB / 0.5532 GB, free: 21.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.009533, allocations: 146.8 kB / 0.5534 GB, free: 21.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.009595, allocations: 74.16 kB / 0.5535 GB, free: 20.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.009641, allocations: 362.7 kB / 0.5538 GB, free: 20.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.009715, allocations: 151.9 kB / 0.554 GB, free: 20.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.009803, allocations: 232.2 kB / 0.5542 GB, free: 20.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01002, allocations: 0.4932 MB / 0.5547 GB, free: 19.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01002, allocations: 0 / 0.5547 GB, free: 19.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002323/0.01025, allocations: 419.6 kB / 0.5551 GB, free: 19.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.01029, allocations: 93.14 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.0103, allocations: 7.984 kB / 0.5551 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01031, allocations: 11.92 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.01059, allocations: 136.6 kB / 0.5553 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.0106, allocations: 11.94 kB / 0.5553 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01071, allocations: 15.98 kB / 0.5553 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01072, allocations: 16 kB / 0.5553 GB, free: 18.79 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.0001602/0.01088, allocations: 236.8 kB / 0.5556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.01092, allocations: 43.97 kB / 0.5556 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.01097, allocations: 43.23 kB / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01097, allocations: 0 / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01097, allocations: 0 / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.011, allocations: 23.81 kB / 0.5557 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01102, allocations: 15.98 kB / 0.5557 GB, free: 18.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.01105, allocations: 12 kB / 0.5557 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.01115, allocations: 19.98 kB / 0.5557 GB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.0112, allocations: 28.22 kB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004734/0.01168, allocations: 0.4915 MB / 0.5562 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003574/0.01203, allocations: 0.7463 MB / 0.5569 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.299e-05/0.01213, allocations: 174.8 kB / 0.5571 GB, free: 16.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.794e-05/0.01219, allocations: 98.75 kB / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of Backend: time 3.2e-07/0.01219, allocations: 3.938 kB / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.01256, allocations: 0.4917 MB / 0.5577 GB, free: 16.15 MB / 410.7 MB Notification: Performance of SimCode: time 0.006332/0.01889, allocations: 1.376 MB / 0.559 GB, free: 14.69 MB / 410.7 MB Notification: Performance of Templates: time 0.27/0.2889, allocations: 5.597 MB / 0.5645 GB, free: 84.67 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.80476713553071]