Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.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.0009477/0.0009477, allocations: 92.5 kB / 19.94 MB, free: 4.605 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.0009396/0.0009396, allocations: 165.8 kB / 23.21 MB, free: 1.336 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.911/0.911, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.7363/0.7363, allocations: 291.2 MB / 0.5382 GB, free: 51.84 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.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.482e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.002383/0.002408, allocations: 2.715 MB / 0.7001 GB, free: 7.578 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.006661, allocations: 6.615 MB / 0.7065 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.0068, allocations: 0 / 0.7065 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.006924, allocations: 43.62 kB / 0.7066 GB, free: 0.9102 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.007154, allocations: 119 kB / 0.7067 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.007374, allocations: 75.73 kB / 0.7067 GB, free: 0.7188 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.007605, allocations: 393.9 kB / 0.7071 GB, free: 340 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.007747, allocations: 56.88 kB / 0.7072 GB, free: 288 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.00789, allocations: 207.4 kB / 0.7074 GB, free: 80 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.008117, allocations: 123.6 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.008164, allocations: 28 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.008208, allocations: 24 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.00826, allocations: 51.77 kB / 0.7076 GB, free: 15.86 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.008386, allocations: 115.7 kB / 0.7077 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.008638, allocations: 295.1 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008642, allocations: 0 / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008643, allocations: 0 / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.008649, allocations: 0 / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007576/0.009406, allocations: 0.5964 MB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.009445, allocations: 8.031 kB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.009502, allocations: 36.73 kB / 0.7086 GB, free: 14.76 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.00972, allocations: 208.7 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.009743, allocations: 24.73 kB / 0.7088 GB, free: 14.51 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.009778, allocations: 16.38 kB / 0.7088 GB, free: 14.5 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.01012, allocations: 300.4 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01013, allocations: 7.953 kB / 0.7091 GB, free: 14.17 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.01015, allocations: 12 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.01016, allocations: 8 kB / 0.7092 GB, free: 14.15 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.01043, allocations: 224.5 kB / 0.7094 GB, free: 13.92 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.01122, allocations: 0.6679 MB / 0.71 GB, free: 13.21 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.01159, allocations: 258.6 kB / 0.7103 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.01174, allocations: 148.4 kB / 0.7104 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.01175, allocations: 4 kB / 0.7104 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.01207, allocations: 353.6 kB / 0.7107 GB, free: 12.38 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.01207, allocations: 0 / 0.7107 GB, free: 12.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001284/0.01336, allocations: 1.09 MB / 0.7118 GB, free: 11.2 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.01344, allocations: 221.5 kB / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01361, allocations: 241.9 kB / 0.7123 GB, free: 10.69 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.01364, allocations: 37.7 kB / 0.7123 GB, free: 10.64 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.01372, allocations: 160.8 kB / 0.7124 GB, free: 10.48 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.01378, allocations: 119.1 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.01386, allocations: 74.19 kB / 0.7126 GB, free: 10.28 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.01395, allocations: 342.8 kB / 0.713 GB, free: 9.938 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.01414, allocations: 207.9 kB / 0.7132 GB, free: 9.715 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01435, allocations: 311.2 kB / 0.7135 GB, free: 9.352 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.0147, allocations: 431.3 kB / 0.7139 GB, free: 8.863 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0147, allocations: 0 / 0.7139 GB, free: 8.863 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004914/0.01519, allocations: 0.5497 MB / 0.7144 GB, free: 8.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.01524, allocations: 93.09 kB / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01525, allocations: 0 / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01526, allocations: 4 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.01545, allocations: 79.89 kB / 0.7146 GB, free: 8.078 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01546, allocations: 8.281 kB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01557, allocations: 27.98 kB / 0.7146 GB, free: 8.043 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.01559, allocations: 19.98 kB / 0.7146 GB, free: 8.023 MB / 426.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" 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: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0002131/0.01581, allocations: 220.2 kB / 0.7148 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.01584, allocations: 31.81 kB / 0.7149 GB, free: 7.754 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.01589, allocations: 34.95 kB / 0.7149 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01589, allocations: 0 / 0.7149 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.0159, allocations: 4 kB / 0.7149 GB, free: 7.715 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0159, allocations: 4 kB / 0.7149 GB, free: 7.711 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.01662, allocations: 0.76 MB / 0.7156 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.01663, allocations: 3.984 kB / 0.7156 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.0168, allocations: 51.91 kB / 0.7157 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.0168, allocations: 7.938 kB / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.01683, allocations: 12 kB / 0.7157 GB, free: 6.816 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.01683, allocations: 7.984 kB / 0.7157 GB, free: 6.809 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01684, allocations: 3.938 kB / 0.7157 GB, free: 6.805 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.01748, allocations: 0.723 MB / 0.7164 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.01752, allocations: 31.86 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.01755, allocations: 8 kB / 0.7165 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01766, allocations: 19.92 kB / 0.7165 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.01775, allocations: 35.83 kB / 0.7165 GB, free: 5.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01776, allocations: 12 kB / 0.7165 GB, free: 5.918 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001437/0.0179, allocations: 181.2 kB / 0.7167 GB, free: 5.742 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.0179, allocations: 4 kB / 0.7167 GB, free: 5.738 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003645/0.01827, allocations: 84 kB / 0.7168 GB, free: 5.656 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,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 (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001191/0.01839, allocations: 119 kB / 0.7169 GB, free: 5.535 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005773/0.01896, allocations: 0.5614 MB / 0.7175 GB, free: 4.906 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.01897, allocations: 128 / 0.7175 GB, free: 4.906 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.01926, allocations: 313.8 kB / 0.7178 GB, free: 4.566 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.01967, allocations: 80.56 kB / 0.7178 GB, free: 4.488 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.02074, allocations: 0.8164 MB / 0.7186 GB, free: 3.629 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.02085, allocations: 160.3 kB / 0.7188 GB, free: 3.449 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.02092, allocations: 32.5 kB / 0.7188 GB, free: 3.418 MB / 426.8 MB Notification: Performance of SimCode: time 8.72e-07/0.02092, allocations: 0 / 0.7188 GB, free: 3.418 MB / 426.8 MB Notification: Performance of Templates: time 0.1827/0.2036, allocations: 4.019 MB / 0.7227 GB, free: 36.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.497994188219309]