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.001144/0.001144, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001866/0.00301, allocations: 435.8 kB / 10.31 MB, free: 384 kB / 10.45 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.0009642/0.0009642, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002206, allocations: 463.6 kB / 11.65 MB, free: 2.516 MB / 13.93 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.087/1.087, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09865/1.185, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.8278/0.8278, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05845/0.8863, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.383e-06/1.383e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.026e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp): time 0.001251/0.001282, allocations: 0.668 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.067e-05/0.001322, allocations: 15.91 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.001334, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.536e-06/0.001338, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.776e-06/0.001347, allocations: 7.875 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.846e-05/0.001385, allocations: 11.98 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.777e-05/0.001423, allocations: 11.98 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.001456, allocations: 11.06 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.001496, allocations: 11.98 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.001536, allocations: 7.984 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.001552, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.001558, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-06/0.001568, allocations: 7.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.001581, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.354e-05/0.001625, allocations: 7.938 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.001637, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.001638, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.001648, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 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.0002352/0.001883, allocations: 235 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.001909, allocations: 19.84 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.991e-05/0.001929, allocations: 8.859 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.708e-05/0.001976, allocations: 113.7 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.001987, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.001993, allocations: 4.375 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.288e-05/0.002046, allocations: 38.23 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-06/0.002051, allocations: 192 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.002057, allocations: 4.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.00206, allocations: 384 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.002076, allocations: 7.938 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.351e-05/0.00214, allocations: 65.03 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/0.0022, allocations: 30.5 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.002213, allocations: 8.859 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.002222, allocations: 0 / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.002235, allocations: 34.59 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.002236, allocations: 0 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 6.968e-05/0.002305, allocations: 37.7 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.002323, allocations: 67.33 kB / 0.5458 GB, free: 29.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.751e-05/0.00235, allocations: 102.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.002355, allocations: 25.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-06/0.002363, allocations: 84.12 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.002383, allocations: 11.94 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.002401, allocations: 9.719 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.00243, allocations: 326.8 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.002436, allocations: 0 / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.002444, allocations: 10.73 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.002461, allocations: 12.86 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.002463, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.762e-05/0.00249, allocations: 41.62 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.002499, allocations: 4 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.002502, allocations: 0 / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.002511, allocations: 0 / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.002554, allocations: 11.98 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.002556, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-06/0.002566, allocations: 3.953 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.002569, allocations: 3.938 kB / 0.5465 GB, free: 28.39 MB / 410.7 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 2.965e-05/0.002599, allocations: 113.8 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-06/0.002603, allocations: 0 / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.002658, allocations: 50.02 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.002661, allocations: 7.984 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.002663, allocations: 48 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.002666, allocations: 3.984 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.631e-05/0.002712, allocations: 65.84 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.002713, allocations: 4 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.00273, allocations: 7.938 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.002736, allocations: 15.92 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.002737, allocations: 3.984 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.002741, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.002741, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.002744, allocations: 6.359 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.676e-05/0.00278, allocations: 65.06 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-06/0.002788, allocations: 4 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.002795, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-06/0.002803, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.002804, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.779e-06/0.002814, allocations: 16.84 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002814, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.456e-05/0.002899, allocations: 4 kB / 0.5468 GB, free: 27.98 MB / 410.7 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.088e-05/0.002949, allocations: 88.36 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.333e-05/0.003003, allocations: 16.84 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.003005, allocations: 0 / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.003013, allocations: 12.86 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.403e-05/0.003067, allocations: 13.91 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001521/0.003219, allocations: 124.4 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.37e-05/0.003233, allocations: 51.36 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.488e-06/0.003243, allocations: 4 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.003263, allocations: 47.38 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.003263, allocations: 4 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of Templates: time 0.00172/0.004983, allocations: 498.3 kB / 0.5476 GB, free: 27.09 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peakamp.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.231037087738514]