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_peakamp.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.001007/0.001007, 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.0009616/0.0009616, allocations: 165.8 kB / 23.21 MB, free: 1.34 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.9944/0.9944, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7052/0.7052, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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_peakamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.054e-05, allocations: 5.234 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp): time 0.0009503/0.0009709, allocations: 0.6125 MB / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.001095, allocations: 27.83 kB / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.001123, allocations: 0 / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.001137, allocations: 3.938 kB / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.001161, allocations: 7.938 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.00129, allocations: 0 / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.001338, allocations: 11.92 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.001382, allocations: 15.94 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.001416, allocations: 7.984 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.001463, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.001484, allocations: 4 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-06/0.00149, allocations: 0 / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.001504, allocations: 7.922 kB / 0.698 GB, free: 9.711 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.001521, allocations: 11.98 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.936e-05/0.00157, allocations: 3.984 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.001572, allocations: 0 / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.31e-07/0.001573, allocations: 4 kB / 0.698 GB, free: 9.691 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.001577, allocations: 0 / 0.698 GB, free: 9.691 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.0002573/0.001834, allocations: 254.4 kB / 0.6983 GB, free: 9.41 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.00187, allocations: 12.03 kB / 0.6983 GB, free: 9.398 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.001896, allocations: 0.9375 kB / 0.6983 GB, free: 9.398 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.561e-05/0.001952, allocations: 117.6 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.001961, allocations: 384 / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.001969, allocations: 384 / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.002051, allocations: 38.25 kB / 0.6984 GB, free: 9.215 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.002059, allocations: 4.125 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002067, allocations: 4.375 kB / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.002071, allocations: 384 / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.002107, allocations: 15.92 kB / 0.6984 GB, free: 9.191 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.319e-05/0.00219, allocations: 109.4 kB / 0.6986 GB, free: 9.055 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.002268, allocations: 34.5 kB / 0.6986 GB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.002286, allocations: 12.92 kB / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.0023, allocations: 0 / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.002313, allocations: 38.55 kB / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.002313, allocations: 0 / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.002423, allocations: 45.69 kB / 0.6987 GB, free: 8.898 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.002444, allocations: 51.41 kB / 0.6987 GB, free: 8.836 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.744e-05/0.002482, allocations: 109.9 kB / 0.6988 GB, free: 8.719 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-06/0.002486, allocations: 29.7 kB / 0.6989 GB, free: 8.684 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.002501, allocations: 92.12 kB / 0.6989 GB, free: 8.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.002523, allocations: 7.906 kB / 0.699 GB, free: 8.582 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.002541, allocations: 17.72 kB / 0.699 GB, free: 8.559 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.544e-05/0.002566, allocations: 310.8 kB / 0.6993 GB, free: 8.246 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.002578, allocations: 7.984 kB / 0.6993 GB, free: 8.238 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.002588, allocations: 12.06 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.002615, allocations: 20.8 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002617, allocations: 0 / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.089e-05/0.002658, allocations: 45.69 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.002667, allocations: 4 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00267, allocations: 4 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.002682, allocations: 0 / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.002728, allocations: 7.938 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.002732, allocations: 4 kB / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-06/0.002742, allocations: 3.938 kB / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.002747, allocations: 3.984 kB / 0.6994 GB, free: 8.125 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.092e-05/0.002778, allocations: 106.5 kB / 0.6995 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-06/0.002781, allocations: 7.953 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.002848, allocations: 53.69 kB / 0.6995 GB, free: 7.945 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.002849, allocations: 0 / 0.6995 GB, free: 7.945 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.002853, allocations: 8 kB / 0.6995 GB, free: 7.938 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.002855, allocations: 3.938 kB / 0.6995 GB, free: 7.934 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.648e-05/0.002891, allocations: 113.2 kB / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002892, allocations: 0 / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.002909, allocations: 11.94 kB / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.002911, allocations: 0 / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.002917, allocations: 4 kB / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.002917, allocations: 0 / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.002918, allocations: 0 / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.485e-05/0.002963, allocations: 73.44 kB / 0.6997 GB, free: 7.688 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.002968, allocations: 15.88 kB / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.002976, allocations: 4 kB / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.002984, allocations: 48 / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.002996, allocations: 7.984 kB / 0.6998 GB, free: 7.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.002999, allocations: 4 kB / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.325e-05/0.003012, allocations: 87.27 kB / 0.6999 GB, free: 7.57 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.003012, allocations: 0 / 0.6999 GB, free: 7.57 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001053/0.003117, allocations: 7.938 kB / 0.6999 GB, free: 7.562 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 4.936e-05/0.003167, allocations: 99.25 kB / 0.7 GB, free: 7.457 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.00323, allocations: 19.92 kB / 0.7 GB, free: 7.438 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.003231, allocations: 4 kB / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.003241, allocations: 12 kB / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.507e-05/0.003336, allocations: 0 / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.003507, allocations: 138.6 kB / 0.7001 GB, free: 7.254 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.426e-05/0.003531, allocations: 63.34 kB / 0.7002 GB, free: 7.172 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.00355, allocations: 12.44 kB / 0.7002 GB, free: 7.16 MB / 410.8 MB Notification: Performance of SimCode: time 3.7e-07/0.00355, allocations: 0 / 0.7002 GB, free: 7.16 MB / 410.8 MB Notification: Performance of Templates: time 0.001153/0.004704, allocations: 0.5275 MB / 0.7007 GB, free: 6.637 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.02663751039654]