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.0009663/0.0009663, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.002087, allocations: 455.9 kB / 10.35 MB, free: 348 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.001597/0.001597, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.003002, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.091/1.091, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0964/1.188, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.8061/0.8061, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05365/0.8597, allocations: 21.04 MB / 0.5432 GB, free: 31.73 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.084e-06/2.084e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.287e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Juul2014_PD_peaklat): time 0.00365/0.003683, allocations: 0.6763 MB / 0.5452 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.003812, allocations: 15.91 kB / 0.5452 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.003843, allocations: 0 / 0.5452 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.003855, allocations: 3.938 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.00388, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.003982, allocations: 19.91 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.004067, allocations: 7.938 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.004142, allocations: 15.05 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.004222, allocations: 11.94 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.004304, allocations: 11.98 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.004333, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.004345, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.00437, allocations: 3.938 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.0044, allocations: 4 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.0045, allocations: 7.984 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.004517, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.004519, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.004538, allocations: 0 / 0.5453 GB, free: 29.6 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.0004453/0.004983, allocations: 235.1 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.005034, allocations: 19.84 kB / 0.5456 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.005072, allocations: 8.875 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.005168, allocations: 109.7 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.005183, allocations: 4.375 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.005193, allocations: 384 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.005289, allocations: 34.25 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.00531, allocations: 4.125 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.005318, allocations: 384 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005325, allocations: 384 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.005357, allocations: 15.92 kB / 0.5457 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.005467, allocations: 57.05 kB / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.005592, allocations: 34.59 kB / 0.5458 GB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.005617, allocations: 8.859 kB / 0.5458 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.005639, allocations: 0 / 0.5458 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.005666, allocations: 34.56 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005667, allocations: 0 / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001409/0.005808, allocations: 49.61 kB / 0.5459 GB, free: 28.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.005845, allocations: 51.41 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.005909, allocations: 106.7 kB / 0.5461 GB, free: 28.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.005918, allocations: 25.7 kB / 0.5461 GB, free: 28.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.005935, allocations: 88.12 kB / 0.5462 GB, free: 28.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.005975, allocations: 7.953 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.006018, allocations: 17.72 kB / 0.5462 GB, free: 28.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.006073, allocations: 322.8 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.006084, allocations: 4 kB / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.006093, allocations: 0 / 0.5465 GB, free: 28.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.006129, allocations: 20.78 kB / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006131, allocations: 0 / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.538e-05/0.006186, allocations: 33.7 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.00621, allocations: 15.11 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.006221, allocations: 3.062 kB / 0.5466 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.006236, allocations: 4 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.006321, allocations: 4 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.006325, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.006343, allocations: 3.953 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.006349, allocations: 0 / 0.5466 GB, free: 28.16 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.906e-05/0.006398, allocations: 113.8 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.006404, allocations: 3.938 kB / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.006493, allocations: 57.61 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006495, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.006497, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006501, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.843e-05/0.006569, allocations: 77.83 kB / 0.5468 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.006571, allocations: 3.984 kB / 0.5468 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.006603, allocations: 8 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.006614, allocations: 7.938 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006618, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.006623, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006625, allocations: 2.656 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006626, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.624e-05/0.006692, allocations: 73 kB / 0.5469 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006703, allocations: 0 / 0.5469 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.006716, allocations: 3.984 kB / 0.5469 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.006734, allocations: 4 kB / 0.5469 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.006739, allocations: 4.422 kB / 0.5469 GB, free: 27.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.901e-05/0.006758, allocations: 15.92 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006758, allocations: 0 / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.006907, allocations: 4 kB / 0.547 GB, free: 27.73 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 0.000122/0.007029, allocations: 80.41 kB / 0.547 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.594e-05/0.007125, allocations: 20.84 kB / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.007136, allocations: 0 / 0.5471 GB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.007158, allocations: 24.72 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.786e-05/0.007256, allocations: 21.84 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.00752, allocations: 116.5 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.007552, allocations: 59.34 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.007568, allocations: 4 kB / 0.5473 GB, free: 27.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.007607, allocations: 47.38 kB / 0.5473 GB, free: 27.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007608, allocations: 0 / 0.5473 GB, free: 27.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002176/0.009784, allocations: 498.4 kB / 0.5478 GB, free: 26.83 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.3958913637325168]