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.00241/0.00241, 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.002948/0.002948, allocations: 170.3 kB / 22.45 MB, free: 2.105 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.693/1.693, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.314/1.314, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.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.433e-06/1.433e-06, allocations: 0 / 0.6998 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.544e-05, allocations: 6.281 kB / 0.6998 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.001414/0.001439, allocations: 0.6115 MB / 0.7004 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.001572, allocations: 27.89 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.001604, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.001619, allocations: 3.938 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.435e-05/0.001643, allocations: 0 / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.001768, allocations: 4 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.00182, allocations: 15.92 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.001866, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.001905, allocations: 11.98 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.001951, allocations: 4 kB / 0.7005 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.001975, allocations: 0 / 0.7005 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-06/0.001981, allocations: 7.938 kB / 0.7005 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.001996, allocations: 7.984 kB / 0.7005 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.002013, allocations: 3.984 kB / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.325e-05/0.002076, allocations: 15.92 kB / 0.7005 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002078, allocations: 0 / 0.7005 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002079, allocations: 0 / 0.7005 GB, free: 7.863 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002082, allocations: 0 / 0.7005 GB, free: 7.863 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.0003003/0.002383, allocations: 254.4 kB / 0.7008 GB, free: 7.582 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.002419, allocations: 8.031 kB / 0.7008 GB, free: 7.574 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.002448, allocations: 4.875 kB / 0.7008 GB, free: 7.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.567e-05/0.002514, allocations: 117.7 kB / 0.7009 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.002527, allocations: 384 / 0.7009 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.002536, allocations: 8.312 kB / 0.7009 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.002619, allocations: 38.25 kB / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.002628, allocations: 192 / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.002637, allocations: 4.375 kB / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.00264, allocations: 384 / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.002686, allocations: 15.92 kB / 0.701 GB, free: 7.359 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.00279, allocations: 101.4 kB / 0.7011 GB, free: 7.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.002892, allocations: 38.5 kB / 0.7011 GB, free: 7.184 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.002915, allocations: 12.92 kB / 0.7011 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.002932, allocations: 4 kB / 0.7011 GB, free: 7.164 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.00296, allocations: 34.55 kB / 0.7012 GB, free: 7.121 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.002961, allocations: 0 / 0.7012 GB, free: 7.121 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.003096, allocations: 49.69 kB / 0.7012 GB, free: 7.066 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.003122, allocations: 55.34 kB / 0.7013 GB, free: 7 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.003171, allocations: 105.8 kB / 0.7014 GB, free: 6.887 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.003178, allocations: 25.7 kB / 0.7014 GB, free: 6.855 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.003201, allocations: 88.12 kB / 0.7015 GB, free: 6.766 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.003231, allocations: 15.84 kB / 0.7015 GB, free: 6.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.003257, allocations: 13.72 kB / 0.7015 GB, free: 6.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.003306, allocations: 318.8 kB / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.003322, allocations: 3.984 kB / 0.7018 GB, free: 6.406 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.003336, allocations: 8 kB / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.003369, allocations: 21.12 kB / 0.7018 GB, free: 6.375 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003371, allocations: 0 / 0.7018 GB, free: 6.375 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.834e-05/0.003429, allocations: 49.62 kB / 0.7019 GB, free: 6.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.003441, allocations: 8 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.003445, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.003459, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.003524, allocations: 4 kB / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.003528, allocations: 0 / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.00355, allocations: 7.938 kB / 0.7019 GB, free: 6.301 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.003554, allocations: 0 / 0.7019 GB, free: 6.301 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 4.745e-05/0.003601, allocations: 114.5 kB / 0.702 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.003609, allocations: 7.891 kB / 0.702 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.003705, allocations: 57.69 kB / 0.7021 GB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.003706, allocations: 0 / 0.7021 GB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.00371, allocations: 0 / 0.7021 GB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.003713, allocations: 3.938 kB / 0.7021 GB, free: 6.105 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.302e-05/0.003766, allocations: 113.3 kB / 0.7022 GB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003767, allocations: 0 / 0.7022 GB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.003809, allocations: 11.94 kB / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.003812, allocations: 0 / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.003833, allocations: 3.938 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.003835, allocations: 256 / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.003836, allocations: 4 kB / 0.7022 GB, free: 5.945 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.00391, allocations: 77.06 kB / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.003917, allocations: 11.94 kB / 0.7023 GB, free: 5.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.003928, allocations: 0 / 0.7023 GB, free: 5.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.00395, allocations: 0 / 0.7023 GB, free: 5.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.003963, allocations: 4 kB / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.003966, allocations: 0 / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.003987, allocations: 91.27 kB / 0.7024 GB, free: 5.746 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003987, allocations: 0 / 0.7024 GB, free: 5.746 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001796/0.004167, allocations: 7.938 kB / 0.7024 GB, free: 5.738 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 8.46e-05/0.004251, allocations: 105.1 kB / 0.7025 GB, free: 5.629 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.004333, allocations: 19.98 kB / 0.7025 GB, free: 5.609 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004334, allocations: 0 / 0.7025 GB, free: 5.609 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.00435, allocations: 8 kB / 0.7025 GB, free: 5.602 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.004487, allocations: 4 kB / 0.7025 GB, free: 5.598 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.004719, allocations: 112.8 kB / 0.7026 GB, free: 5.461 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.004759, allocations: 71.28 kB / 0.7027 GB, free: 5.371 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.262e-05/0.004772, allocations: 0 / 0.7027 GB, free: 5.371 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.004796, allocations: 12.5 kB / 0.7027 GB, free: 5.359 MB / 410.8 MB Notification: Performance of SimCode: time 3.61e-07/0.004796, allocations: 0 / 0.7027 GB, free: 5.359 MB / 410.8 MB Notification: Performance of Templates: time 0.002786/0.007582, allocations: 448 kB / 0.7031 GB, free: 4.973 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.405270501039922]