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.0007293/0.0007293, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009572/0.001687, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007297/0.0007297, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009601/0.00169, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.075/1.075, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08837/1.164, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.7299/0.7299, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02921/0.7591, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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 1.683e-06/1.683e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.423e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.000888/0.0009023, allocations: 0.6746 MB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.05e-05/0.0009428, allocations: 23.83 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.00096, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-06/0.0009642, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.697e-06/0.0009729, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.86e-05/0.001021, allocations: 15.94 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.001067, allocations: 11.92 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.001105, allocations: 7.125 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.001158, allocations: 15.97 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.001205, allocations: 7.938 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.001223, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.001231, allocations: 4 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.001241, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.001258, allocations: 4 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.197e-05/0.00131, allocations: 7.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.001324, allocations: 3.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001325, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.001337, allocations: 0 / 0.5452 GB, free: 29.87 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.0002938/0.001631, allocations: 235 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.00166, allocations: 15.84 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.001684, allocations: 4.938 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.839e-05/0.001743, allocations: 117.7 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.001756, allocations: 4.375 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.001762, allocations: 384 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.001822, allocations: 34.25 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.001829, allocations: 192 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.001835, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.00184, allocations: 384 / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.001856, allocations: 7.938 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.888e-05/0.001925, allocations: 61.05 kB / 0.5456 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.002003, allocations: 34.53 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.002017, allocations: 8.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.002027, allocations: 0 / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.002042, allocations: 34.56 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.02e-07/0.002042, allocations: 0 / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.424e-05/0.002127, allocations: 41.69 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.002146, allocations: 55.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/0.002177, allocations: 118.2 kB / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.002181, allocations: 25.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-06/0.002189, allocations: 84.14 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.002211, allocations: 7.891 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.002233, allocations: 21.69 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.00226, allocations: 318.8 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-06/0.002266, allocations: 4 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.002272, allocations: 0 / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.002293, allocations: 16.84 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.002295, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.02e-05/0.002325, allocations: 41.69 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.002335, allocations: 8 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.002339, allocations: 3.938 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.002348, allocations: 0 / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.002396, allocations: 7.938 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.002398, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.002409, allocations: 3.953 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.002413, allocations: 0 / 0.5464 GB, free: 28.43 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 3.103e-05/0.002444, allocations: 117.8 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-06/0.002448, allocations: 0 / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.002506, allocations: 53.69 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.002507, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.002509, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.002511, allocations: 0 / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.179e-05/0.002553, allocations: 77.81 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.002553, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.00257, allocations: 7.938 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.002576, allocations: 8 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.002577, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.00258, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.002581, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.002582, allocations: 4 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.187e-05/0.002623, allocations: 73.42 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.002631, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-06/0.002638, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.002649, allocations: 7.094 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.002651, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.796e-06/0.00266, allocations: 20.83 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00266, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.814e-05/0.002748, allocations: 4 kB / 0.5468 GB, free: 28 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.212e-05/0.0028, allocations: 80.36 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.853e-05/0.002859, allocations: 24.84 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.002862, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.002869, allocations: 8.859 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.848e-05/0.002928, allocations: 17.84 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.003093, allocations: 138.2 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.261e-05/0.003115, allocations: 67.28 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.003141, allocations: 51.38 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.003141, allocations: 0 / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of Templates: time 0.001078/0.004219, allocations: 0.5179 MB / 0.5477 GB, free: 27.05 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.020611556246877]