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.0008536/0.0008536, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002, 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.0008766/0.0008766, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.002002, 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 0.9863/0.9863, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1273/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7834/0.7834, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03469/0.8181, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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_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 2.254e-06/2.254e-06, allocations: 0 / 0.5444 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.996e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.001565/0.001595, allocations: 0.6705 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.442e-05/0.001649, allocations: 19.91 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.001672, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.33e-06/0.001677, allocations: 3.938 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.1e-05/0.001688, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.094e-05/0.001749, allocations: 11.92 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.001809, allocations: 4 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.001866, allocations: 11.11 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.001929, allocations: 15.92 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.001989, allocations: 7.984 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.002013, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.002021, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.002036, allocations: 7.938 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.002057, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.002128, allocations: 7.938 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.002145, allocations: 8 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.002147, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.002159, allocations: 3.984 kB / 0.5452 GB, free: 29.82 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.0003123/0.002471, allocations: 235 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.002507, allocations: 19.84 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.002533, allocations: 0.9375 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.002599, allocations: 117.6 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.002613, allocations: 384 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.002622, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.002699, allocations: 34.25 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.002706, allocations: 4.188 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.002715, allocations: 4.375 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.002721, allocations: 384 / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.002742, allocations: 11.92 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.435e-05/0.002836, allocations: 57.05 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/0.002929, allocations: 26.52 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.002947, allocations: 12.89 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.002963, allocations: 0 / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.002981, allocations: 30.56 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.002982, allocations: 0 / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001225/0.003105, allocations: 53.62 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.003132, allocations: 51.41 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.003178, allocations: 114.1 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.003186, allocations: 25.7 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.003197, allocations: 84.12 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.003231, allocations: 7.953 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.003261, allocations: 17.72 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.003311, allocations: 318.8 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-06/0.003318, allocations: 0 / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.003325, allocations: 4.188 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.003353, allocations: 20.92 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.003357, allocations: 7.984 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.167e-05/0.003399, allocations: 37.64 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.003415, allocations: 4 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.003422, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.003436, allocations: 3.984 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.003518, allocations: 8 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.003523, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.003538, allocations: 3.953 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.003544, allocations: 0 / 0.5465 GB, free: 28.38 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 4.891e-05/0.003593, allocations: 113.8 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.003601, allocations: 4 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.003689, allocations: 53.61 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.003695, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.003697, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.003702, allocations: 3.938 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.376e-05/0.003766, allocations: 69.84 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.003767, allocations: 4 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.003798, allocations: 7.984 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.003807, allocations: 7.938 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003808, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.003813, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.003813, allocations: 4 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.003815, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.562e-05/0.00387, allocations: 69.05 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.003881, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.00389, allocations: 3.312 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.003904, allocations: 3.984 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.003907, allocations: 4 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.003923, allocations: 12.8 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003923, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.697e-05/0.00402, allocations: 4 kB / 0.5468 GB, free: 27.96 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 7.937e-05/0.004099, allocations: 84.42 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.004174, allocations: 16.84 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.004178, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.328e-06/0.004187, allocations: 12.86 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.757e-05/0.004275, allocations: 13.91 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.004502, allocations: 124.4 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.479e-05/0.004527, allocations: 51.36 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.004541, allocations: 7.984 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.004575, allocations: 55.36 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.004575, allocations: 4 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Templates: time 0.002066/0.006641, allocations: 497.4 kB / 0.5477 GB, free: 27.07 MB / 410.7 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: 3.060045919381082]