Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.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.002343/0.002343, allocations: 84.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.002901/0.002901, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.699/1.699, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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 1.334/1.334, allocations: 292.9 MB / 0.5392 GB, free: 49.81 MB / 410.7 MB " [Timeout remaining time 178] 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.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.663e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference): time 0.003112/0.003139, allocations: 2.702 MB / 0.7025 GB, free: 5.816 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.01012, allocations: 6.608 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.01039, allocations: 7.938 kB / 0.709 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.01056, allocations: 39.58 kB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.01093, allocations: 127 kB / 0.7091 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.01124, allocations: 67.83 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.01173, allocations: 393.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.01191, allocations: 60.81 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.01222, allocations: 199.6 kB / 0.7098 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.01251, allocations: 123.6 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.01256, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.01262, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.01269, allocations: 59.7 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01285, allocations: 115.7 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.01327, allocations: 303 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01328, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01328, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.01328, allocations: 0 / 0.7105 GB, free: 13.69 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.001183/0.01447, allocations: 0.5885 MB / 0.711 GB, free: 13.05 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.0145, allocations: 8.031 kB / 0.711 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.01459, allocations: 32.75 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.01493, allocations: 216.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.01496, allocations: 16.75 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.01501, allocations: 20.38 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.01559, allocations: 292.7 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01561, allocations: 11.89 kB / 0.7116 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.01564, allocations: 16 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01565, allocations: 11.92 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.01618, allocations: 232.5 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.0175, allocations: 0.6679 MB / 0.7125 GB, free: 11.44 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.01813, allocations: 242.7 kB / 0.7127 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.01841, allocations: 144.5 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.01842, allocations: 4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.01896, allocations: 365.2 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.01896, allocations: 0 / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002226/0.02119, allocations: 1.084 MB / 0.7143 GB, free: 9.441 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.02135, allocations: 213.6 kB / 0.7145 GB, free: 9.184 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.02166, allocations: 245.9 kB / 0.7147 GB, free: 8.938 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.0217, allocations: 33.7 kB / 0.7148 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.02185, allocations: 160.8 kB / 0.7149 GB, free: 8.734 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.02197, allocations: 115.1 kB / 0.715 GB, free: 8.621 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.0221, allocations: 70.2 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004221/0.02252, allocations: 346.7 kB / 0.7154 GB, free: 8.195 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.02288, allocations: 207.9 kB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.02344, allocations: 315.1 kB / 0.7159 GB, free: 7.605 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.02414, allocations: 431.1 kB / 0.7163 GB, free: 7.117 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02414, allocations: 0 / 0.7163 GB, free: 7.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009525/0.02509, allocations: 0.5536 MB / 0.7169 GB, free: 6.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.02517, allocations: 93.09 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02518, allocations: 3.938 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.0252, allocations: 8 kB / 0.717 GB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.02552, allocations: 72.23 kB / 0.717 GB, free: 6.328 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.02553, allocations: 8 kB / 0.717 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.02576, allocations: 23.98 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.0258, allocations: 16 kB / 0.7171 GB, free: 6.281 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.0002927/0.02609, allocations: 233.7 kB / 0.7173 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.02614, allocations: 31.8 kB / 0.7173 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.02622, allocations: 34.91 kB / 0.7174 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.02622, allocations: 4 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.02623, allocations: 4 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02623, allocations: 3.984 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.02749, allocations: 0.76 MB / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02749, allocations: 0 / 0.7181 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.02778, allocations: 59.95 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.0278, allocations: 4 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.02782, allocations: 8 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.02783, allocations: 3.938 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02783, allocations: 7.938 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.02901, allocations: 0.7153 MB / 0.7189 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.02907, allocations: 35.84 kB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.02912, allocations: 8 kB / 0.7189 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.02934, allocations: 19.98 kB / 0.719 GB, free: 4.215 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.02944, allocations: 31.88 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.02947, allocations: 12 kB / 0.719 GB, free: 4.172 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000205/0.02967, allocations: 181.2 kB / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02967, allocations: 0 / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003749/0.03005, allocations: 88 kB / 0.7193 GB, free: 3.91 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.000172/0.03022, allocations: 126.9 kB / 0.7194 GB, free: 3.781 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008847/0.0311, allocations: 0.5615 MB / 0.7199 GB, free: 3.152 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0311, allocations: 4 kB / 0.7199 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2026/0.2337, allocations: 294.6 kB / 0.7202 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.2344, allocations: 87.31 kB / 0.7203 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2358, allocations: 0.7917 MB / 0.7211 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2359, allocations: 158.7 kB / 0.7212 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.236, allocations: 35.28 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.2361, allocations: 30.77 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of SimCode: time 1.393e-06/0.2361, allocations: 3.625 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of Templates: time 0.01025/0.2464, allocations: 4.557 MB / 0.7257 GB, free: 36.23 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.055493332911283]