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.001858/0.001858, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.003002/0.003002, allocations: 214.4 kB / 22.25 MB, free: 3.566 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 1.762/1.762, allocations: 230.6 MB / 256 MB, free: 9.633 MB / 202.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.436/1.436, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01177/0.01177, allocations: 77.44 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2145, allocations: 73.98 MB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02B_OtherAnalgesicsAndAntipyretics.N02BG06_Nefopam.Nefopam_Djerada2014_reference): time 0.008338/0.2228, allocations: 2.709 MB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3827/0.6055, allocations: 6.596 MB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.6057, allocations: 0.75 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.6059, allocations: 43.11 kB / 0.8564 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.6062, allocations: 115.8 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.6065, allocations: 79.59 kB / 0.8566 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.6069, allocations: 374.3 kB / 0.8569 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.607, allocations: 52.03 kB / 0.857 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.6072, allocations: 143.9 kB / 0.8571 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.6075, allocations: 145 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.6076, allocations: 24.19 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.177e-05/0.6076, allocations: 27.31 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.6077, allocations: 43.72 kB / 0.8573 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.6078, allocations: 143.6 kB / 0.8575 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.6082, allocations: 286.9 kB / 0.8578 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6082, allocations: 0.5312 kB / 0.8578 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6082, allocations: 0.5625 kB / 0.8578 GB, free: 21.76 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.6082, allocations: 0.9688 kB / 0.8578 GB, free: 21.76 MB / 490.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.001056/0.6093, allocations: 0.5992 MB / 0.8583 GB, free: 21.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6093, allocations: 13 kB / 0.8584 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.6094, allocations: 32.09 kB / 0.8584 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.6097, allocations: 214.8 kB / 0.8586 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6097, allocations: 16.94 kB / 0.8586 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.6098, allocations: 28.83 kB / 0.8586 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.6102, allocations: 285.1 kB / 0.8589 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6102, allocations: 4.484 kB / 0.8589 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.6103, allocations: 8 kB / 0.8589 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.6103, allocations: 3.938 kB / 0.8589 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.6107, allocations: 240 kB / 0.8591 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.6117, allocations: 0.6711 MB / 0.8598 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.6123, allocations: 242 kB / 0.86 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.6125, allocations: 148.7 kB / 0.8602 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6125, allocations: 3 kB / 0.8602 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.6129, allocations: 360.1 kB / 0.8605 GB, free: 20.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.6129, allocations: 0.5938 kB / 0.8605 GB, free: 20.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001794/0.6147, allocations: 1.08 MB / 0.8616 GB, free: 19.64 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.6148, allocations: 225.3 kB / 0.8618 GB, free: 19.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.615, allocations: 249.3 kB / 0.862 GB, free: 19.27 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.615, allocations: 30.98 kB / 0.8621 GB, free: 19.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6151, allocations: 164.4 kB / 0.8622 GB, free: 19.13 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.6152, allocations: 116.7 kB / 0.8623 GB, free: 19.06 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.6153, allocations: 68.98 kB / 0.8624 GB, free: 19.05 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.6154, allocations: 342.5 kB / 0.8627 GB, free: 18.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.6157, allocations: 209.5 kB / 0.8629 GB, free: 18.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.616, allocations: 318.8 kB / 0.8632 GB, free: 18.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.6165, allocations: 430.8 kB / 0.8636 GB, free: 18.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6165, allocations: 3.375 kB / 0.8636 GB, free: 18.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008636/0.6174, allocations: 0.5487 MB / 0.8642 GB, free: 17.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.6175, allocations: 93.86 kB / 0.8643 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6175, allocations: 2.438 kB / 0.8643 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.6175, allocations: 5.594 kB / 0.8643 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.6178, allocations: 79.66 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.6178, allocations: 6.141 kB / 0.8644 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6181, allocations: 26.61 kB / 0.8644 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.6181, allocations: 18.97 kB / 0.8644 GB, free: 17.77 MB / 490.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.0002496/0.6184, allocations: 226.7 kB / 0.8646 GB, free: 17.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.6184, allocations: 32.86 kB / 0.8646 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.6185, allocations: 34.84 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6185, allocations: 2.625 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6185, allocations: 1.703 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6185, allocations: 7.516 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.6196, allocations: 0.7624 MB / 0.8654 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6196, allocations: 0.6094 kB / 0.8654 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.6199, allocations: 57.67 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6199, allocations: 1.25 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.62, allocations: 15.08 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.62, allocations: 8.875 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.62, allocations: 1.156 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.621, allocations: 0.7218 MB / 0.8662 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.6211, allocations: 29.36 kB / 0.8662 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.6211, allocations: 14.61 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6213, allocations: 19.91 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6214, allocations: 30.84 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.6214, allocations: 10.3 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001662/0.6216, allocations: 177.2 kB / 0.8665 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.6216, allocations: 0 / 0.8665 GB, free: 16.73 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003754/0.622, allocations: 88.12 kB / 0.8666 GB, free: 16.73 MB / 490.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.0001357/0.6221, allocations: 127.6 kB / 0.8667 GB, free: 16.64 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.6229, allocations: 0.57 MB / 0.8672 GB, free: 16.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6229, allocations: 0 / 0.8672 GB, free: 16.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.6232, allocations: 299.8 kB / 0.8675 GB, free: 16.08 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.6238, allocations: 85.61 kB / 0.8676 GB, free: 16.08 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.6255, allocations: 0.9482 MB / 0.8685 GB, free: 15.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.6256, allocations: 158.7 kB / 0.8687 GB, free: 15.51 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000156/0.6258, allocations: 32.69 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.6259, allocations: 30.39 kB / 0.8688 GB, free: 15.5 MB / 490.8 MB Notification: Performance of SimCode: time 5.82e-07/0.6259, allocations: 0 / 0.8688 GB, free: 15.5 MB / 490.8 MB Notification: Performance of Templates: time 0.01102/0.6369, allocations: 4.99 MB / 0.8736 GB, free: 15 MB / 490.8 MB " [Timeout remaining time 659] 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.944389948854223]