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.0009582/0.0009582, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008769/0.0008769, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.891/0.891, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.7093/0.7093, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.393e-06/1.393e-06, allocations: 0 / 0.6972 GB, free: 10.5 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.531e-05, allocations: 2.281 kB / 0.6972 GB, free: 10.5 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Schnider): time 0.001955/0.001971, allocations: 2.515 MB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.00233, allocations: 271 kB / 0.6999 GB, free: 7.703 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.00242, allocations: 4 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.002524, allocations: 47.52 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.002691, allocations: 123 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.531e-05/0.002787, allocations: 63.89 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.002997, allocations: 374.1 kB / 0.7005 GB, free: 7.102 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.003118, allocations: 56.89 kB / 0.7006 GB, free: 7.051 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003226, allocations: 199.5 kB / 0.7008 GB, free: 6.855 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.003362, allocations: 127.6 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.003393, allocations: 24 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.817e-05/0.003421, allocations: 28 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.003451, allocations: 59.69 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.003523, allocations: 123.7 kB / 0.7011 GB, free: 6.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.003696, allocations: 275.2 kB / 0.7014 GB, free: 6.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003698, allocations: 3.938 kB / 0.7014 GB, free: 6.227 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003699, allocations: 3.938 kB / 0.7014 GB, free: 6.223 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003703, allocations: 0 / 0.7014 GB, free: 6.223 MB / 410.8 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.0006093/0.004312, allocations: 0.596 MB / 0.702 GB, free: 5.574 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.004351, allocations: 8.031 kB / 0.702 GB, free: 5.566 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.0044, allocations: 36.75 kB / 0.702 GB, free: 5.531 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.004585, allocations: 220.8 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.0046, allocations: 16.88 kB / 0.7022 GB, free: 5.277 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.00463, allocations: 24.38 kB / 0.7023 GB, free: 5.254 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.00486, allocations: 285.7 kB / 0.7025 GB, free: 4.949 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.004876, allocations: 8.141 kB / 0.7025 GB, free: 4.941 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.004891, allocations: 8.375 kB / 0.7026 GB, free: 4.934 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004897, allocations: 8.375 kB / 0.7026 GB, free: 4.926 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.005107, allocations: 266.8 kB / 0.7028 GB, free: 4.645 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.005613, allocations: 498.4 kB / 0.7033 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.005915, allocations: 268.5 kB / 0.7036 GB, free: 3.832 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.006023, allocations: 174.2 kB / 0.7037 GB, free: 3.641 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.006037, allocations: 4 kB / 0.7037 GB, free: 3.637 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.006251, allocations: 443.3 kB / 0.7041 GB, free: 3.137 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.006252, allocations: 0 / 0.7041 GB, free: 3.137 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.00107/0.007322, allocations: 1.318 MB / 0.7054 GB, free: 1.699 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.007373, allocations: 298.7 kB / 0.7057 GB, free: 1.34 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.007508, allocations: 233.8 kB / 0.7059 GB, free: 1.102 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.007523, allocations: 37.7 kB / 0.706 GB, free: 1.059 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.007563, allocations: 148.8 kB / 0.7061 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.007619, allocations: 138.9 kB / 0.7062 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.007679, allocations: 82.19 kB / 0.7063 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.007717, allocations: 342.8 kB / 0.7067 GB, free: 348 kB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.007855, allocations: 215.8 kB / 0.7069 GB, free: 112 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.008042, allocations: 284.3 kB / 0.7071 GB, free: 15.77 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.008783, allocations: 0.804 MB / 0.7079 GB, free: 14.86 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008786, allocations: 0 / 0.7079 GB, free: 14.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004674/0.009253, allocations: 0.5618 MB / 0.7085 GB, free: 14.25 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.009295, allocations: 93.03 kB / 0.7086 GB, free: 14.14 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.009302, allocations: 4 kB / 0.7086 GB, free: 14.14 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.009316, allocations: 4 kB / 0.7086 GB, free: 14.14 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.009495, allocations: 96.17 kB / 0.7087 GB, free: 14.04 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.009502, allocations: 4 kB / 0.7087 GB, free: 14.04 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.009605, allocations: 19.98 kB / 0.7087 GB, free: 14.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.009622, allocations: 20 kB / 0.7087 GB, free: 14 MB / 426.8 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.0001906/0.009813, allocations: 257.2 kB / 0.7089 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.009846, allocations: 35.75 kB / 0.709 GB, free: 13.69 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.009885, allocations: 31.31 kB / 0.709 GB, free: 13.66 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009888, allocations: 8 kB / 0.709 GB, free: 13.65 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009893, allocations: 0 / 0.709 GB, free: 13.65 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.009899, allocations: 3.984 kB / 0.709 GB, free: 13.64 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.01065, allocations: 0.8958 MB / 0.7099 GB, free: 12.68 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01065, allocations: 0 / 0.7099 GB, free: 12.68 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.01083, allocations: 67.91 kB / 0.71 GB, free: 12.61 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01084, allocations: 0 / 0.71 GB, free: 12.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01085, allocations: 15.98 kB / 0.71 GB, free: 12.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01086, allocations: 0 / 0.71 GB, free: 12.59 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01086, allocations: 4 kB / 0.71 GB, free: 12.59 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.01152, allocations: 0.8687 MB / 0.7108 GB, free: 11.65 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.01155, allocations: 27.8 kB / 0.7108 GB, free: 11.62 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.01159, allocations: 16 kB / 0.7109 GB, free: 11.61 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01169, allocations: 19.92 kB / 0.7109 GB, free: 11.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.01175, allocations: 31.98 kB / 0.7109 GB, free: 11.56 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.01177, allocations: 12 kB / 0.7109 GB, free: 11.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001205/0.01189, allocations: 177.2 kB / 0.7111 GB, free: 11.37 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01189, allocations: 0 / 0.7111 GB, free: 11.37 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002219/0.01211, allocations: 100.2 kB / 0.7112 GB, free: 11.27 MB / 426.8 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.922e-05/0.01221, allocations: 117.4 kB / 0.7113 GB, free: 11.15 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.01265, allocations: 0.5985 MB / 0.7119 GB, free: 10.48 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01266, allocations: 0 / 0.7119 GB, free: 10.48 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.01289, allocations: 411.7 kB / 0.7123 GB, free: 10.02 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01319, allocations: 79.12 kB / 0.7124 GB, free: 9.949 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.01415, allocations: 0.9381 MB / 0.7133 GB, free: 8.965 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01425, allocations: 173.6 kB / 0.7134 GB, free: 8.773 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.01434, allocations: 36.5 kB / 0.7135 GB, free: 8.738 MB / 426.8 MB Notification: Performance of SimCode: time 8.01e-07/0.01434, allocations: 0 / 0.7135 GB, free: 8.738 MB / 426.8 MB Notification: Performance of Templates: time 0.003891/0.01823, allocations: 4.068 MB / 0.7174 GB, free: 4.668 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Schnider.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.558225412853062]