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.002607/0.002607, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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: 173.9 kB / 22.46 MB, free: 2.102 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.609/1.609, allocations: 177.1 MB / 202.8 MB, free: 5.781 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.83 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.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 1.593e-06/1.593e-06, allocations: 0 / 0.6998 GB, free: 8.648 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.837e-05, allocations: 6.219 kB / 0.6998 GB, free: 8.641 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl): time 0.005048/0.005076, allocations: 0.6369 MB / 0.7005 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.973e-05/0.005146, allocations: 7.984 kB / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.005189, allocations: 0 / 0.7005 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.00521, allocations: 3.938 kB / 0.7005 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.005248, allocations: 4 kB / 0.7005 GB, free: 7.988 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.005307, allocations: 4 kB / 0.7005 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.005382, allocations: 15.92 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.005453, allocations: 7.984 kB / 0.7005 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.005492, allocations: 7.984 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.005548, allocations: 7.922 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.005575, allocations: 4 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-06/0.005581, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.005596, allocations: 4 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.005617, allocations: 4 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.898e-05/0.005676, allocations: 7.969 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00568, allocations: 7.938 kB / 0.7006 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005681, allocations: 4 kB / 0.7006 GB, free: 7.914 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005685, allocations: 0 / 0.7006 GB, free: 7.914 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.0003824/0.006067, allocations: 258.2 kB / 0.7008 GB, free: 7.629 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.006115, allocations: 12.03 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.006153, allocations: 4.875 kB / 0.7008 GB, free: 7.613 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.006243, allocations: 113.8 kB / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.006259, allocations: 384 / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.00627, allocations: 384 / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.009408, allocations: 42.25 kB / 0.701 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.009419, allocations: 4.188 kB / 0.701 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00943, allocations: 384 / 0.701 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.009436, allocations: 384 / 0.701 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.009502, allocations: 15.92 kB / 0.701 GB, free: 7.41 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.009668, allocations: 109.2 kB / 0.7011 GB, free: 7.273 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.009911, allocations: 46.64 kB / 0.7011 GB, free: 7.219 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.009958, allocations: 12.86 kB / 0.7012 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.009974, allocations: 0 / 0.7012 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.009992, allocations: 38.69 kB / 0.7012 GB, free: 7.156 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.009994, allocations: 0 / 0.7012 GB, free: 7.156 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001873/0.01018, allocations: 57.64 kB / 0.7012 GB, free: 7.094 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.01021, allocations: 55.39 kB / 0.7013 GB, free: 7.027 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.01029, allocations: 109.8 kB / 0.7014 GB, free: 6.91 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.01029, allocations: 25.7 kB / 0.7014 GB, free: 6.879 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.01032, allocations: 84.14 kB / 0.7015 GB, free: 6.793 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01035, allocations: 15.83 kB / 0.7015 GB, free: 6.777 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.0104, allocations: 17.72 kB / 0.7015 GB, free: 6.754 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.01045, allocations: 314.8 kB / 0.7018 GB, free: 6.438 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.01047, allocations: 4 kB / 0.7018 GB, free: 6.434 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.01049, allocations: 11.98 kB / 0.7019 GB, free: 6.422 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.01054, allocations: 16.86 kB / 0.7019 GB, free: 6.402 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01054, allocations: 4 kB / 0.7019 GB, free: 6.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.757e-05/0.01063, allocations: 53.91 kB / 0.7019 GB, free: 6.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01065, allocations: 4 kB / 0.7019 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01065, allocations: 0 / 0.7019 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01067, allocations: 0 / 0.7019 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.01073, allocations: 8.047 kB / 0.7019 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01074, allocations: 0 / 0.7019 GB, free: 6.328 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.01077, allocations: 15.81 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.01077, allocations: 0 / 0.7019 GB, free: 6.312 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 5.181e-05/0.01083, allocations: 115 kB / 0.7021 GB, free: 6.191 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.01084, allocations: 4 kB / 0.7021 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.01086, allocations: 11.67 kB / 0.7021 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01086, allocations: 4 kB / 0.7021 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01087, allocations: 0 / 0.7021 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01087, allocations: 3.938 kB / 0.7021 GB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.917e-05/0.01094, allocations: 101.3 kB / 0.7022 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01094, allocations: 3.938 kB / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.011, allocations: 15.92 kB / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.011, allocations: 0 / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.01101, allocations: 0 / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01101, allocations: 0 / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01101, allocations: 4 kB / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.01111, allocations: 77.02 kB / 0.7023 GB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.01112, allocations: 8 kB / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.01113, allocations: 0 / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.01116, allocations: 256 / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.01117, allocations: 0 / 0.7023 GB, free: 5.914 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01118, allocations: 8 kB / 0.7023 GB, free: 5.906 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.0112, allocations: 83.27 kB / 0.7024 GB, free: 5.824 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0112, allocations: 0 / 0.7024 GB, free: 5.824 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002877/0.01149, allocations: 11.94 kB / 0.7024 GB, free: 5.812 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 0.0001011/0.01159, allocations: 99.25 kB / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.01169, allocations: 23.92 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01169, allocations: 0 / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.01171, allocations: 8 kB / 0.7025 GB, free: 5.676 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.01191, allocations: 0 / 0.7025 GB, free: 5.676 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.01521, allocations: 119.5 kB / 0.7026 GB, free: 5.535 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.01525, allocations: 67.28 kB / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.967e-05/0.01527, allocations: 0 / 0.7027 GB, free: 5.449 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.0153, allocations: 12.5 kB / 0.7027 GB, free: 5.438 MB / 410.8 MB Notification: Performance of SimCode: time 7.71e-07/0.0153, allocations: 0 / 0.7027 GB, free: 5.438 MB / 410.8 MB Notification: Performance of Templates: time 0.006416/0.02171, allocations: 410.6 kB / 0.7031 GB, free: 5.086 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA11_Oxymorphone.Oxymorphone_Sadiq2013_PD_tfl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.463941408088431]