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.0006468/0.0006468, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009156/0.001562, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006971/0.0006971, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008957/0.001593, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9348/0.9348, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07722/1.012, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.6729/0.6729, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02718/0.7, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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.613e-06/1.613e-06, allocations: 0 / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.273e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.003051/0.003064, allocations: 2.712 MB / 0.5472 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.003648, allocations: 294.8 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003754, allocations: 3.938 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.003841, allocations: 35.64 kB / 0.5475 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.004075, allocations: 123 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.004207, allocations: 63.78 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.004554, allocations: 378.1 kB / 0.548 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004695, allocations: 58.84 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.004971, allocations: 257.6 kB / 0.5483 GB, free: 26.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.005162, allocations: 131.6 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.005211, allocations: 24 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.005259, allocations: 24 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.005304, allocations: 43.81 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.005414, allocations: 87.81 kB / 0.5486 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.005649, allocations: 199.3 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.005662, allocations: 3.984 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005663, allocations: 0 / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.005678, allocations: 0 / 0.5488 GB, free: 26.01 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.0008121/0.00649, allocations: 0.6279 MB / 0.5494 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.006521, allocations: 23.83 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.006592, allocations: 40.53 kB / 0.5495 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.006817, allocations: 193.5 kB / 0.5497 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.006843, allocations: 16.88 kB / 0.5497 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.006886, allocations: 24.33 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.007139, allocations: 241.7 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.007157, allocations: 4.188 kB / 0.55 GB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.007174, allocations: 8.375 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.007182, allocations: 4.375 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.007365, allocations: 202.4 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.00796, allocations: 366.1 kB / 0.5505 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.00824, allocations: 205.3 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.008334, allocations: 134.2 kB / 0.5508 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.008348, allocations: 8 kB / 0.5508 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.008588, allocations: 417 kB / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.00859, allocations: 0 / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.001187/0.009777, allocations: 1.093 MB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.009857, allocations: 387.8 kB / 0.5527 GB, free: 21.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009994, allocations: 209.1 kB / 0.5529 GB, free: 21.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.01001, allocations: 33.7 kB / 0.5529 GB, free: 21.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.01005, allocations: 129.4 kB / 0.553 GB, free: 21.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.01013, allocations: 146.8 kB / 0.5532 GB, free: 21.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.01022, allocations: 78.16 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.01027, allocations: 346.7 kB / 0.5536 GB, free: 20.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.01039, allocations: 151.8 kB / 0.5537 GB, free: 20.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.01051, allocations: 228.3 kB / 0.5539 GB, free: 20.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.01083, allocations: 0.5087 MB / 0.5544 GB, free: 19.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01083, allocations: 3.938 kB / 0.5544 GB, free: 19.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003353/0.01116, allocations: 407.4 kB / 0.5548 GB, free: 19.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.01121, allocations: 89.11 kB / 0.5549 GB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01121, allocations: 8.328 kB / 0.5549 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01123, allocations: 11.94 kB / 0.5549 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.01161, allocations: 129.8 kB / 0.5551 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01161, allocations: 4 kB / 0.5551 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01177, allocations: 12 kB / 0.5551 GB, free: 18.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.0118, allocations: 12 kB / 0.5551 GB, free: 18.89 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.0001768/0.01197, allocations: 258.6 kB / 0.5553 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.01203, allocations: 43.91 kB / 0.5554 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.01207, allocations: 35.3 kB / 0.5554 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01208, allocations: 4 kB / 0.5554 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01208, allocations: 0 / 0.5554 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01208, allocations: 0 / 0.5554 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.01271, allocations: 0.6342 MB / 0.556 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01272, allocations: 0 / 0.556 GB, free: 17.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.01307, allocations: 95.86 kB / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.01311, allocations: 23.81 kB / 0.5561 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01311, allocations: 0 / 0.5561 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.01314, allocations: 15.98 kB / 0.5562 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01315, allocations: 0 / 0.5562 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01315, allocations: 0 / 0.5562 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.01364, allocations: 0.6896 MB / 0.5568 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.01369, allocations: 16 kB / 0.5569 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.01385, allocations: 8 kB / 0.5569 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.01393, allocations: 31.94 kB / 0.5569 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.01395, allocations: 8 kB / 0.5569 GB, free: 16.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.01403, allocations: 74.78 kB / 0.557 GB, free: 16.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01403, allocations: 0 / 0.557 GB, free: 16.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.01437, allocations: 96 kB / 0.5571 GB, free: 16.71 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 9.514e-05/0.01446, allocations: 110.7 kB / 0.5572 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.01481, allocations: 0.5254 MB / 0.5577 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.01482, allocations: 8 kB / 0.5577 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.01504, allocations: 388.4 kB / 0.5581 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.01543, allocations: 133 kB / 0.5582 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.02597, allocations: 0.7756 MB / 0.5589 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.02603, allocations: 101.1 kB / 0.559 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.02619, allocations: 34.97 kB / 0.5591 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.02643, allocations: 147.3 kB / 0.5592 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02643, allocations: 0 / 0.5592 GB, free: 14.3 MB / 410.7 MB Notification: Performance of Templates: time 0.2103/0.2367, allocations: 4.98 MB / 0.5641 GB, free: 84.74 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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2620257306843996]