Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.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.001035/0.001035, 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.001171/0.001171, 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 1.056/1.056, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.6963/0.6963, allocations: 291.2 MB / 0.5382 GB, free: 51.73 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.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.268e-05, allocations: 5.094 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.000999/0.001022, allocations: 0.6195 MB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.001149, allocations: 15.91 kB / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.001177, allocations: 0 / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.001191, allocations: 0 / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.001221, allocations: 11.88 kB / 0.698 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.001373, allocations: 4 kB / 0.698 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.001426, allocations: 15.92 kB / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.001473, allocations: 7.938 kB / 0.698 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.001509, allocations: 15.97 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.00156, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.001582, allocations: 4 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-06/0.001589, allocations: 0 / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.001604, allocations: 3.984 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.001622, allocations: 7.938 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.523e-05/0.001677, allocations: 7.984 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.001679, allocations: 0 / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00168, allocations: 4 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.001684, allocations: 4 kB / 0.698 GB, free: 9.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002844/0.001969, allocations: 250.4 kB / 0.6983 GB, free: 9.453 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.002008, allocations: 12.03 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.002039, allocations: 0.9375 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.002101, allocations: 117.7 kB / 0.6984 GB, free: 9.301 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.002112, allocations: 4.312 kB / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.00212, allocations: 384 / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.002205, allocations: 34.27 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.002214, allocations: 192 / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.002223, allocations: 4.375 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.002227, allocations: 8.359 kB / 0.6984 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.002264, allocations: 11.92 kB / 0.6985 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.002367, allocations: 113.3 kB / 0.6986 GB, free: 9.094 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.00245, allocations: 30.52 kB / 0.6986 GB, free: 9.055 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.002473, allocations: 16.86 kB / 0.6986 GB, free: 9.035 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.00249, allocations: 3.984 kB / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.002503, allocations: 34.56 kB / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 5.62e-07/0.002504, allocations: 0 / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.002634, allocations: 45.69 kB / 0.6987 GB, free: 8.938 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.002654, allocations: 55.41 kB / 0.6987 GB, free: 8.871 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.002698, allocations: 109.8 kB / 0.6988 GB, free: 8.754 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.002703, allocations: 25.7 kB / 0.6989 GB, free: 8.723 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.002719, allocations: 96.06 kB / 0.699 GB, free: 8.625 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.002745, allocations: 7.906 kB / 0.699 GB, free: 8.617 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.002766, allocations: 21.66 kB / 0.699 GB, free: 8.59 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.002797, allocations: 310.8 kB / 0.6993 GB, free: 8.277 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.00281, allocations: 7.984 kB / 0.6993 GB, free: 8.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.002819, allocations: 8 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.002853, allocations: 16.86 kB / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.002855, allocations: 0 / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.134e-05/0.002896, allocations: 45.69 kB / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.002908, allocations: 8 kB / 0.6994 GB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.002912, allocations: 0 / 0.6994 GB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.002925, allocations: 0 / 0.6994 GB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.002978, allocations: 7.938 kB / 0.6994 GB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.002984, allocations: 4 kB / 0.6994 GB, free: 8.172 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.002995, allocations: 7.922 kB / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.003, allocations: 0 / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 3.576e-05/0.003036, allocations: 106.5 kB / 0.6995 GB, free: 8.051 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-06/0.00304, allocations: 7.953 kB / 0.6995 GB, free: 8.043 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.003114, allocations: 53.69 kB / 0.6996 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.003116, allocations: 4 kB / 0.6996 GB, free: 7.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.00312, allocations: 4 kB / 0.6996 GB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.003123, allocations: 3.938 kB / 0.6996 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.319e-05/0.003166, allocations: 105.3 kB / 0.6997 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.003167, allocations: 0 / 0.6997 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.003184, allocations: 8 kB / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.003185, allocations: 0 / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.003191, allocations: 384 / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.003192, allocations: 3.938 kB / 0.6997 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.003194, allocations: 7.922 kB / 0.6997 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.458e-05/0.003249, allocations: 85.05 kB / 0.6998 GB, free: 7.719 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.003255, allocations: 11.89 kB / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.003264, allocations: 0 / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.003271, allocations: 0 / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.003284, allocations: 0 / 0.6998 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.003286, allocations: 4.25 kB / 0.6998 GB, free: 7.703 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.003303, allocations: 91.27 kB / 0.6999 GB, free: 7.613 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003303, allocations: 0 / 0.6999 GB, free: 7.613 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001094/0.003412, allocations: 7.938 kB / 0.6999 GB, free: 7.605 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.756e-05/0.00347, allocations: 95.25 kB / 0.7 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.003537, allocations: 27.92 kB / 0.7 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.003538, allocations: 0 / 0.7 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.003548, allocations: 12 kB / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.00365, allocations: 3.938 kB / 0.7 GB, free: 7.461 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/0.003845, allocations: 141.1 kB / 0.7001 GB, free: 7.293 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.003872, allocations: 63.34 kB / 0.7002 GB, free: 7.211 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.003892, allocations: 8.5 kB / 0.7002 GB, free: 7.203 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.003893, allocations: 0 / 0.7002 GB, free: 7.203 MB / 410.8 MB Notification: Performance of Templates: time 0.001259/0.005151, allocations: 0.5323 MB / 0.7007 GB, free: 6.676 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.262854139320552]