Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.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.0009609/0.0009609, 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.0009764/0.0009764, 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.9757/0.9757, allocations: 177.1 MB / 203.5 MB, free: 5.777 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.6743/0.6743, allocations: 291.2 MB / 0.5382 GB, free: 52.04 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.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.466e-06/3.466e-06, allocations: 4 kB / 0.6974 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/3.025e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl): time 0.001506/0.001536, allocations: 0.628 MB / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.778e-05/0.001594, allocations: 11.92 kB / 0.698 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.001628, allocations: 4 kB / 0.698 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.001644, allocations: 0 / 0.698 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.28e-05/0.001677, allocations: 4 kB / 0.698 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.856e-05/0.001735, allocations: 3.984 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.001799, allocations: 19.86 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.001863, allocations: 4 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.001912, allocations: 7.984 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.001978, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.002009, allocations: 4 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.002014, allocations: 0 / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.002035, allocations: 15.92 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.00206, allocations: 7.984 kB / 0.6981 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.002127, allocations: 7.922 kB / 0.6981 GB, free: 9.727 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00213, allocations: 4 kB / 0.6981 GB, free: 9.723 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.31e-07/0.002131, allocations: 0 / 0.6981 GB, free: 9.723 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.002135, allocations: 0 / 0.6981 GB, free: 9.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003221/0.002457, allocations: 254.4 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.002501, allocations: 8.031 kB / 0.6983 GB, free: 9.434 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.002531, allocations: 0.9375 kB / 0.6983 GB, free: 9.434 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.814e-05/0.002609, allocations: 117.7 kB / 0.6984 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.002622, allocations: 4.375 kB / 0.6984 GB, free: 9.289 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.002632, allocations: 4.375 kB / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.002731, allocations: 34.27 kB / 0.6985 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.002741, allocations: 192 / 0.6985 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.002751, allocations: 4.359 kB / 0.6985 GB, free: 9.242 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.002757, allocations: 4.312 kB / 0.6985 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.002807, allocations: 11.94 kB / 0.6985 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.002917, allocations: 109.4 kB / 0.6986 GB, free: 9.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.003095, allocations: 42.69 kB / 0.6986 GB, free: 9.039 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.003131, allocations: 16.84 kB / 0.6987 GB, free: 9.02 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.003145, allocations: 4 kB / 0.6987 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.003159, allocations: 34.56 kB / 0.6987 GB, free: 8.973 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.003161, allocations: 3.938 kB / 0.6987 GB, free: 8.969 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001478/0.003309, allocations: 57.62 kB / 0.6987 GB, free: 8.906 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.003333, allocations: 51.41 kB / 0.6988 GB, free: 8.844 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.00339, allocations: 109.8 kB / 0.6989 GB, free: 8.727 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.003396, allocations: 25.7 kB / 0.6989 GB, free: 8.695 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.003412, allocations: 84.14 kB / 0.699 GB, free: 8.609 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.003438, allocations: 11.84 kB / 0.699 GB, free: 8.598 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.003466, allocations: 17.72 kB / 0.699 GB, free: 8.574 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.003509, allocations: 318.8 kB / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.003526, allocations: 8 kB / 0.6993 GB, free: 8.246 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.003541, allocations: 8.25 kB / 0.6994 GB, free: 8.238 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.003582, allocations: 21.08 kB / 0.6994 GB, free: 8.215 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.003584, allocations: 4 kB / 0.6994 GB, free: 8.211 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.338e-05/0.003647, allocations: 53.67 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.00366, allocations: 4 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.003665, allocations: 0 / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.003678, allocations: 0 / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.003724, allocations: 8 kB / 0.6994 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.003729, allocations: 3.984 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.003746, allocations: 11.89 kB / 0.6995 GB, free: 8.125 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.003751, allocations: 4 kB / 0.6995 GB, free: 8.121 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 (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 prepare postOptimizeDAE: time 4.35e-05/0.003794, allocations: 109.8 kB / 0.6996 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.0038, allocations: 0 / 0.6996 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.003816, allocations: 11.62 kB / 0.6996 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003818, allocations: 4 kB / 0.6996 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.003822, allocations: 0 / 0.6996 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.003825, allocations: 3.938 kB / 0.6996 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.806e-05/0.003883, allocations: 109.3 kB / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.003884, allocations: 0 / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.003915, allocations: 8 kB / 0.6997 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.003916, allocations: 4 kB / 0.6997 GB, free: 7.836 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.003922, allocations: 3.938 kB / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.003923, allocations: 0 / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.003924, allocations: 0 / 0.6997 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.497e-05/0.003999, allocations: 77.02 kB / 0.6998 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.004006, allocations: 8 kB / 0.6998 GB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.004015, allocations: 0 / 0.6998 GB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.00403, allocations: 3.984 kB / 0.6998 GB, free: 7.727 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.00404, allocations: 0 / 0.6998 GB, free: 7.727 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004043, allocations: 7.938 kB / 0.6998 GB, free: 7.719 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.967e-05/0.004063, allocations: 79.28 kB / 0.6999 GB, free: 7.641 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.004063, allocations: 4 kB / 0.6999 GB, free: 7.637 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001885/0.004252, allocations: 11.94 kB / 0.6999 GB, free: 7.625 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 6.532e-05/0.004317, allocations: 104.1 kB / 0.7 GB, free: 7.516 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.004387, allocations: 16 kB / 0.7 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.004388, allocations: 0 / 0.7 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.004406, allocations: 15.92 kB / 0.7 GB, free: 7.484 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.004533, allocations: 7.719 kB / 0.7 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.004715, allocations: 138.5 kB / 0.7002 GB, free: 7.312 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.004742, allocations: 67.34 kB / 0.7002 GB, free: 7.227 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.004761, allocations: 8.5 kB / 0.7002 GB, free: 7.219 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.004762, allocations: 0 / 0.7002 GB, free: 7.219 MB / 410.8 MB Notification: Performance of Templates: time 0.001656/0.006418, allocations: 0.5352 MB / 0.7007 GB, free: 6.691 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.136345003731549]