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.001014/0.001014, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002326, 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.0007449/0.0007449, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009615/0.001706, 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 0.9613/0.9613, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0766/1.038, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7031/0.7031, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02239/0.7255, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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.213e-06/1.213e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.095e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.001957/0.001968, allocations: 2.751 MB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.002339, allocations: 315.2 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.002419, allocations: 4 kB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.319e-05/0.002482, allocations: 39.58 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.002661, allocations: 130.9 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.524e-05/0.002746, allocations: 63.84 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.002968, allocations: 398 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.003072, allocations: 58.84 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.003264, allocations: 282.5 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.00342, allocations: 151.5 kB / 0.5484 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.003456, allocations: 28 kB / 0.5485 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.003498, allocations: 24 kB / 0.5485 GB, free: 26.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.00353, allocations: 43.81 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.003608, allocations: 95.75 kB / 0.5486 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.003773, allocations: 207.2 kB / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.003786, allocations: 0 / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003787, allocations: 0 / 0.5488 GB, free: 26.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.0038, allocations: 0 / 0.5488 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.000686/0.004486, allocations: 0.6862 MB / 0.5495 GB, free: 25.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.523e-05/0.004512, allocations: 19.89 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.004565, allocations: 40.84 kB / 0.5495 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004734, allocations: 209.4 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.004755, allocations: 16.88 kB / 0.5498 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.004782, allocations: 24.38 kB / 0.5498 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004943, allocations: 237.7 kB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.004956, allocations: 4.141 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.004969, allocations: 8.375 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004974, allocations: 4.375 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.005088, allocations: 202.4 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.005497, allocations: 362.2 kB / 0.5506 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.005709, allocations: 209.2 kB / 0.5508 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.005766, allocations: 137.3 kB / 0.5509 GB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005778, allocations: 4 kB / 0.5509 GB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.005944, allocations: 417 kB / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.005946, allocations: 0 / 0.5513 GB, free: 23.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007858/0.006732, allocations: 1.089 MB / 0.5524 GB, free: 22.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.006774, allocations: 298.7 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.00688, allocations: 237 kB / 0.5529 GB, free: 21.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.006896, allocations: 37.7 kB / 0.5529 GB, free: 21.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.006918, allocations: 129.4 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.006974, allocations: 146.8 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.007033, allocations: 82.09 kB / 0.5532 GB, free: 21.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.007066, allocations: 350.7 kB / 0.5536 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.007133, allocations: 151.8 kB / 0.5537 GB, free: 20.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.007215, allocations: 232.3 kB / 0.5539 GB, free: 20.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.007425, allocations: 0.5048 MB / 0.5544 GB, free: 19.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007427, allocations: 0 / 0.5544 GB, free: 19.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002097/0.007637, allocations: 411.4 kB / 0.5548 GB, free: 19.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.007671, allocations: 93.09 kB / 0.5549 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007676, allocations: 352 / 0.5549 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007687, allocations: 15.94 kB / 0.5549 GB, free: 19.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.007948, allocations: 141.7 kB / 0.5551 GB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.007953, allocations: 4 kB / 0.5551 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.008064, allocations: 20 kB / 0.5551 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.008078, allocations: 23.09 kB / 0.5551 GB, free: 18.98 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.0001166/0.008195, allocations: 247.8 kB / 0.5554 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.00823, allocations: 47.89 kB / 0.5554 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.008261, allocations: 27.31 kB / 0.5554 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008263, allocations: 8 kB / 0.5554 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008265, allocations: 3.984 kB / 0.5554 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.008269, allocations: 0 / 0.5554 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.00868, allocations: 0.6448 MB / 0.5561 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008682, allocations: 0 / 0.5561 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.008914, allocations: 99.84 kB / 0.5562 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.008945, allocations: 27.8 kB / 0.5562 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008947, allocations: 7.938 kB / 0.5562 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.008964, allocations: 12 kB / 0.5562 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008965, allocations: 0 / 0.5562 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008966, allocations: 0 / 0.5562 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.009264, allocations: 0.678 MB / 0.5569 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.0093, allocations: 23.92 kB / 0.5569 GB, free: 17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.00942, allocations: 12 kB / 0.5569 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.009466, allocations: 23.95 kB / 0.5569 GB, free: 16.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.009478, allocations: 15.98 kB / 0.5569 GB, free: 16.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.064e-05/0.009539, allocations: 94.77 kB / 0.557 GB, free: 16.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009539, allocations: 0 / 0.557 GB, free: 16.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.009732, allocations: 96 kB / 0.5571 GB, free: 16.77 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 6.212e-05/0.009794, allocations: 104.4 kB / 0.5572 GB, free: 16.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.01001, allocations: 0.5253 MB / 0.5577 GB, free: 16.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.01002, allocations: 4 kB / 0.5577 GB, free: 16.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01013, allocations: 368.5 kB / 0.5581 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01039, allocations: 128.6 kB / 0.5582 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.01688, allocations: 0.8032 MB / 0.559 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.01695, allocations: 177.6 kB / 0.5592 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.01714, allocations: 159.3 kB / 0.5593 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01714, allocations: 0 / 0.5593 GB, free: 14.3 MB / 410.7 MB Notification: Performance of Templates: time 0.2194/0.2365, allocations: 4.359 MB / 0.5636 GB, free: 84.89 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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2668038392439485]