Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.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.00157/0.00157, allocations: 92.42 kB / 19.94 MB, free: 4.594 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.00202/0.00202, allocations: 169.9 kB / 23.21 MB, free: 1.324 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 1.001/1.001, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6848/0.6848, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") translateModel(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6974 GB, free: 10.29 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.214e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.28 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.00252/0.002542, allocations: 3.229 MB / 0.7006 GB, free: 7.031 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.003478, allocations: 0.7752 MB / 0.7013 GB, free: 6.254 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.003604, allocations: 4 kB / 0.7013 GB, free: 6.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.003738, allocations: 63.41 kB / 0.7014 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.003967, allocations: 162.6 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.00419, allocations: 95.8 kB / 0.7016 GB, free: 5.934 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.004469, allocations: 0.54 MB / 0.7022 GB, free: 5.391 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.004631, allocations: 79.7 kB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.004808, allocations: 279.4 kB / 0.7025 GB, free: 5.035 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.005013, allocations: 163.5 kB / 0.7027 GB, free: 4.875 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.00505, allocations: 32 kB / 0.7027 GB, free: 4.844 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.005084, allocations: 36 kB / 0.7027 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.005122, allocations: 75.61 kB / 0.7028 GB, free: 4.734 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.005217, allocations: 163.6 kB / 0.7029 GB, free: 4.574 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.005468, allocations: 402.7 kB / 0.7033 GB, free: 4.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005471, allocations: 0 / 0.7033 GB, free: 4.18 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005473, allocations: 3.938 kB / 0.7033 GB, free: 4.176 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.005478, allocations: 0 / 0.7033 GB, free: 4.176 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007099/0.006188, allocations: 0.7232 MB / 0.704 GB, free: 3.398 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.006225, allocations: 12.03 kB / 0.704 GB, free: 3.387 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.006282, allocations: 44.69 kB / 0.7041 GB, free: 3.344 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.006485, allocations: 244.5 kB / 0.7043 GB, free: 3.082 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.006505, allocations: 21.03 kB / 0.7043 GB, free: 3.062 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.00654, allocations: 36.38 kB / 0.7044 GB, free: 3.027 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.006898, allocations: 398.5 kB / 0.7048 GB, free: 2.613 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.006914, allocations: 11.95 kB / 0.7048 GB, free: 2.602 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.006934, allocations: 12 kB / 0.7048 GB, free: 2.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.00694, allocations: 4 kB / 0.7048 GB, free: 2.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.00725, allocations: 331.4 kB / 0.7051 GB, free: 2.242 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.008086, allocations: 0.8842 MB / 0.706 GB, free: 1.305 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.008468, allocations: 335.2 kB / 0.7063 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.008614, allocations: 214.2 kB / 0.7065 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.008627, allocations: 4 kB / 0.7065 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.008913, allocations: 0.491 MB / 0.707 GB, free: 152 kB / 410.8 MB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/0.008914, allocations: 0 / 0.707 GB, free: 152 kB / 410.8 MB Notification: Performance of matching and sorting (n=49): time 0.001518/0.01043, allocations: 1.48 MB / 0.7084 GB, free: 14.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.01054, allocations: 306.4 kB / 0.7087 GB, free: 14.18 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01076, allocations: 284.2 kB / 0.709 GB, free: 13.89 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.01079, allocations: 37.7 kB / 0.709 GB, free: 13.85 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.0109, allocations: 180.9 kB / 0.7092 GB, free: 13.67 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.011, allocations: 174.7 kB / 0.7094 GB, free: 13.5 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.01111, allocations: 98.28 kB / 0.7094 GB, free: 13.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.01123, allocations: 346.8 kB / 0.7098 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.01151, allocations: 286.1 kB / 0.7101 GB, free: 12.74 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.01184, allocations: 422.8 kB / 0.7105 GB, free: 12.25 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/0.01278, allocations: 1.036 MB / 0.7115 GB, free: 11.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01278, allocations: 0 / 0.7115 GB, free: 11.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006501/0.01343, allocations: 0.7372 MB / 0.7122 GB, free: 10.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.01349, allocations: 122.8 kB / 0.7123 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.0135, allocations: 7.938 kB / 0.7123 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.01352, allocations: 8 kB / 0.7123 GB, free: 10.11 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01376, allocations: 111.8 kB / 0.7124 GB, free: 10 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01376, allocations: 4 kB / 0.7124 GB, free: 10 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01392, allocations: 27.98 kB / 0.7125 GB, free: 9.973 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.01395, allocations: 23.98 kB / 0.7125 GB, free: 9.949 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real effectSite.Ce:VARIABLE(min = -1e-9 start = effectSite.Ce0 unit = \"kg/m3\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 29 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 4 * 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.0002536/0.0142, allocations: 284.3 kB / 0.7128 GB, free: 9.645 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.01424, allocations: 43.75 kB / 0.7128 GB, free: 9.602 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.01429, allocations: 43.62 kB / 0.7128 GB, free: 9.559 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.0143, allocations: 4 kB / 0.7128 GB, free: 9.555 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.0143, allocations: 0 / 0.7128 GB, free: 9.555 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01431, allocations: 0 / 0.7128 GB, free: 9.555 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.01526, allocations: 1.019 MB / 0.7138 GB, free: 8.457 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01526, allocations: 0 / 0.7138 GB, free: 8.457 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.01547, allocations: 75.89 kB / 0.7139 GB, free: 8.383 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01547, allocations: 0 / 0.7139 GB, free: 8.383 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.01549, allocations: 19.98 kB / 0.7139 GB, free: 8.363 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0155, allocations: 3.938 kB / 0.7139 GB, free: 8.359 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.0155, allocations: 3.984 kB / 0.7139 GB, free: 8.355 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.01632, allocations: 0.98 MB / 0.7149 GB, free: 7.305 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.01636, allocations: 35.75 kB / 0.7149 GB, free: 7.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.01641, allocations: 16 kB / 0.7149 GB, free: 7.254 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.01653, allocations: 19.98 kB / 0.715 GB, free: 7.234 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.01662, allocations: 35.94 kB / 0.715 GB, free: 7.199 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.01664, allocations: 19.98 kB / 0.715 GB, free: 7.18 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001362/0.01677, allocations: 199.1 kB / 0.7152 GB, free: 6.988 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01677, allocations: 0 / 0.7152 GB, free: 6.988 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002917/0.01706, allocations: 124.2 kB / 0.7153 GB, free: 6.867 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,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,effectSite.Ce) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition6,peripheral2.Cmax,$whenCondition5,peripheral2.rising,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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 0.00013/0.01719, allocations: 136.2 kB / 0.7154 GB, free: 6.723 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.01785, allocations: 0.7776 MB / 0.7162 GB, free: 5.855 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01785, allocations: 0 / 0.7162 GB, free: 5.855 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.01814, allocations: 439.8 kB / 0.7166 GB, free: 5.371 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.01857, allocations: 112.5 kB / 0.7167 GB, free: 5.258 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01988, allocations: 1.112 MB / 0.7178 GB, free: 4.09 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.02001, allocations: 204.1 kB / 0.718 GB, free: 3.875 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.0201, allocations: 40.5 kB / 0.7181 GB, free: 3.836 MB / 426.8 MB Notification: Performance of SimCode: time 2.244e-06/0.0201, allocations: 0 / 0.7181 GB, free: 3.836 MB / 426.8 MB Notification: Performance of Templates: time 0.1928/0.2129, allocations: 5.294 MB / 0.7232 GB, free: 52.27 MB / 442.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8653402822092175]